Support

Admin Tools

#35775 Question about .htaccess updates noted in post installation message

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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Wednesday, 13 October 2021 20:17 CDT

slomas

Curious if Nicholas and the Akeeba team have an opinion or guidance about the recommended code update noted in the post-installation text message below.code update.

Reviewing the .htaccess files generated by AdminTools .htaccess Maker, neither the old or new code exists.

Please advise.

 

Thanks! SL

-----------------------------------

.htaccess Update Concerning Directory Listings

Since version 3.9.22

Before 3.9.22 the default htaccess.txt file contained erroneous code meant for disabling directory listings. The security team recommends to manually apply the necessary changes to any existing .htaccess file, as this file can not be updated automatically.

The old code:

<IfModule autoindex>
  IndexIgnore *
</IfModule>

The new code:

<IfModule mod_autoindex.c>
  IndexIgnore *
</IfModule>
Steve Lomas | Idea Mechanic | MojoMediaPros

nicholas
Akeeba Staff
Manager

I am happy to say that the .htaccess code generated by Admin Tools since the first appearance of this feature in September 2010 and my Kyrion .htaccess file (formerly Master .htaccess) I maintain since late 2008 and this feature was based on never, ever had this kind of typo.

You do not need to change anything in your .htaccess file generated by .htaccess Maker.

FWIW we do monitor these messages, too. If there was something that needs fixing we’d be releasing a new version anyway. So far we have only seen Joomla add things we had added in the .htaccess Maker or the Kyrion .htaccess file somewhere between 6 and 10 years prior.

The only maybe useful change we saw was with Joomla 4 which started shipping pre-gzipped versions of static media files and the .htaccess code to use them instead of dynamically compressing the minified versions of these files. We added that .htaccess code in Admin Tools 7. Our benchmarks indicate that there is no real impact on the performance on most sites. It would only make sense on sites with several hundred visitors per second or more, in which case I seriously doubt anyone in their right mind would be using straight-up Apache without a caching proxy (even just NginX).

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!