Support

Admin Tools

#24529 Doesn't Seem to Detect I am using IIS

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 Saturday, 26 March 2016 18:20 CDT

eSilverStrike
I am using IIS for my web server and after reading a few support articles it seems to suggest that if IIS is detected any features not compatible with IIS will be hidden.

I notice that this is not the case for me. For example in the wizard "Create a security tightening .htaccess" is visible and was enabled.

Is there anyway I can specify in the config that I am using IIS so these type of features are hidden automatically and I don't assume that I have more security protection that I actually have?

Also do you plan to add any IIS related security features like updating web.config for better security?

Is there a list of features not available to IIS in one spot so I don't always have to hunt around and wonder if what I was working on is not going to work (like the redirection I just found out about)

Thanks

Tom

nicholas
Akeeba Staff
Manager
The button for .htaccess will always appear. However, when you click on it you'll see that it warns you that you 're possibly not using Apache. This is a special case. There are servers which do not report their type at all, report a misleading type or are not Apache but still support .htaccess files. So the only thing we can do is always display the .htaccess Maker button (unless we positively detect NginX) and show a warning in the .htaccess Maker page.

There are already some tools hidden from you because you're running IIS, like file permissions configuration (they don't apply to Windows). So yeah, we actually do detect that you're running under IIS ;)

Regarding web.config, it lacks consistent support for redirection rules. Even the redirection support added as an optional module since IIS 7.0 isn't anywhere near as powerful as Apache's, making security tightening with web.config very unlikely I'm afraid :(

Regarding redirection it DOES work - as long as you have the redirection module installed on IIS and you are using a web.config file based on Joomla!'s web.config.txt which enables the URL rewriting features. In any other case IIS doesn't forward non-existing URLs to Joomla!, therefore our code never has the chance to run and act on them. Bummer.

There are no other features which may not work on IIS. Everything else runs at the Joomla! system plugin level and does not rely on specific server features.

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!

eSilverStrike
Okay thanks. The first 2 thinks I looked into mentioned something about not supporting IIS so I assumed their must be others. I do have the redirect module installed and am using the web.config which came with Joomla (with some small mods) so I am glad to see your redirection feature will work as well.

Thanks

Tom

nicholas
Akeeba Staff
Manager
You're welcome, Tom :)

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!