Support

Admin Tools

#43292 Your server configuration file may need to be recreated

Posted in ‘Admin Tools for Joomla!’
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
6.1.3
PHP version
8.4.24
Admin Tools version
7.9.2

Latest post by rocher on Sunday, 30 August 2026 00:56 CDT

rocher
Hi,

I updated my 3 Joomla-based websites to the latest versions of Joomla and extensions, including Admin Tools, yesterday.

Since then, I've noticed this message in the Admin Tools Control Panel: Your server configuration file may need to be recreated.

I click on the option to recreate the .htaccess file, and everything looks fine until I log out and back in and see the message again in the Control Panel.

Today I saved copies of .htaccess before and after running the Admin Tools option to recreate the file - see attached dot-htaccess-1 (before) and -2 (after).

The problem is that the before copy contains 175 lines of JCH Optimize cache instructions, and the after copy does not.

Is this something I need to raise with you guys, or do I need to raise it with JCH Optimize?

Thanks as always for your extensions and support.

Regards, Robert Fairhead

nicholas
Akeeba Staff
Manager

Admin Tools knows what the .htaccess file should look like when it's create by the .htaccess Maker feature. It compares that against what you have on disk. When it differs, it tells you that you need to create it afresh. The idea is that if we make changes in how this file is generated to improve performance or address issues you would be unaware – nobody reads the release notes.

JCH Optimize adds stuff to your .htaccess file on disk. Therefore, the on-disk state drifts from what Admin Tools knows the file should look like, causing the message to appear.

Here's the thing. What you are doing is wrong. You don't need JCH Optimize to modify your file. These rules exist in the .htaccess Maker. Moreover, the .htaccess Maker – unlike JCH Optimize – does not put a self-advertising HTTP header.

I have a security concern with JCH Optimize's self-advertising header. It not only says that you are using that software on your site, it reports the exact version. This is fingerprinting. If there's ever a security issue in that software, attackers will be able to very trivially identify not only the population of sites using that software, but also the exact sites using the vulnerable versions. To be clear, the lack of a self-advertising HTTP header / page output with the exact version number doesn't increase a site's security, but the presence of the same has a well-understood security impact.

Remember, that's that entire reason why Admin Tools lets you scrub Apache's and PHP's self-advertising (Powered-By) HTTP header with the “Remove web server and PHP version signature”. Doing that, but having some extension provide its own self-advertising header is a security concern you should be aware of.

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!

rocher
Thanks Nicholas,
I shall read the release notes and doco, identify and enable the rules in Admin Tools that do what JCH Optimize is doing, and disable JCH Optimize's updating of .htaccess.
Thanks too for the tip on the security concerns with self-advertizing in .htaccess.
Regards, Robert

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!