Support

Admin Tools

#36077 Auto-detected Apache is incorrect

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, 01 December 2021 20:17 CST

karjoco

I'm trying to get htaccess maker to work, but am receiving a 500 Internal Server Error. This is due to Akeeba Admin Tools "auto-detecting" the wrong Apache Version. This is from my .htaccess file (generated from the htaccess maker set to show Apache and PHP version signature):

"### Auto-detected Apache version: 2.5 (best guess)"

But my hosting provider confirmed that my server is using Apache version 2.2

How do I get Akeeba Admin Tools to detect the correct version of Apache? Can I manually enter it somewhere? My site is hosted at CloudAccess.net

Kara

nicholas
Akeeba Staff
Manager

As per our documentation, we rely on the information passed by your web server in the server environment variable SERVER_SOFTWARE. If this information is truncated or missing we do a “best guess”. Your host only reports Apache in the SERVER_SOFTWARE environment variable. As a result we are not sure which version of Apache this is. We take a wild guess that your host can't be using an ancient version of Apache and use the fake version 2.5 so that the .htaccess Maker will use all Apache 2.4 features.

Please note that Apache 2.4 was first released in January 2012. That's almost ten years ago. Our expectation that your host has upgraded Apache sometime in the last TEN YEARS is not out of the blue. A decade is an eternity in computer terms...

In any case, you cannot override this anywhere in our software. The potential for people messing up badly is too great to allow this. You need to ask your host to make sure that the SERVER_SOFTWARE environment variable contains at the very least the major and minor versions of Apache, i.e. Apache/2.2.

Kindly note that hiding the Apache version IS NOT a security feature, even if the host tries to pass it as such. It is trivial deducing the web server technology and the Apache version family (1.3, 2.0, 2.2, 2.4) without even looking at what Apache reports and it's been so for years. That's what security researchers and attackers do. They don't believe what the server reports.

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!