Support

Admin Tools

#38891 .htaccess update from 4.2.9

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.3.0
PHP version
7.4
Admin Tools version
7.3.2

Latest post by tampe125 on Thursday, 20 April 2023 05:31 CDT

[email protected]

Hello,

I see an installation message on joomla after the update to 4.3.0.
Below the message.
"
Before 4.2.9 the default htaccess.txt file contained erroneous code for appending the "Content-Encoding" HTTP header. This could result in double encoding errors when Joomla is installed in a subdirectory and both this directory and its parent directory contain an .htaccess file with this code. You should manually apply the necessary changes to any existing .htaccess file, as this file can not be updated automatically.

The old code:

Header append Content-Encoding gzip

The new code:

Header set Content-Encoding gzip

"

In admin tools pro, we have also a message:

"
Your server config file may need to be rebuilt

Admin Tools detected that your server configuration file (ie .htaccess, nginx.conf or web.config) has been modified. We strongly suggest you to put any manual edit inside the Custom rules fields, so you won't lose them if you ever regenerate the file using Admin Tools
"

I try to use the .htaccess maker to addjust options and preview the file but when the file is generated with the old code not the new announced on Joomla installation message.

Do we need to update this manually or keep the file as generated by Admin tools with the variable "append"?
Do you plan to update this?

Thanks for your feedback.
Best regards,

Cédric

tampe125
Akeeba Staff

Hello,

we already do that, you can enable GZip compression inside the Htaccess Maker. This is better because you can easily toggle on/off without the need to manually change the file

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!