Support

Admin Tools

#40588 Loading static ressources result in "403 Forbidden" header when enabling "Automatically compress static resources"

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.3/4.4.4
PHP version
8.2.18
Admin Tools version
7.5.1

Latest post by nicholas on Friday, 19 April 2024 01:48 CDT

maggus86

Hi Nicholas!

I am now a customer for a long time, but for some reason, all static ressources of my Joomla! sites now respond with a "403 Forbidden" header when loading them. This only occurs when "Automatically compress static resources" is enabled in the .htaccess maker. Moreover it also occurs on several Joomla! versions and several hosts.

Do you have an idea what's going wrong? I haven't changed any Apache or PHP settings but always installed the latest versions, at least for PHP.

I am contacting you as the issue occurs on several hosts, Joomla! versions and PHP versions.

Best regards, Markus

nicholas
Akeeba Staff
Manager

Yes, we know what the problem is. We used Joomla's recommended .htaccess code to prevent double compression of pre-compressed resources (.css.gz, .js.gz, .css.br, .js.br), but Joomla's recommended code is actually incomplete and causes problems.

I will be releasing a new version in a few minutes to address that.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

maggus86

Thank you for fixing the issue in an amazingly short time!

Now, everything works as expected again :)

nicholas
Akeeba Staff
Manager

You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!