Support

Admin Tools

#36558 Disable client-side risky behavior in backend static content

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 Sunday, 06 March 2022 20:17 CST

ravpl

I have error 500 when I enable "Disable client-side risky behavior in backend static content" in htaccess configuration.

I contacted my hosting company and found out I had an older version of Apache (2.2).

Only Apache 2.4 supports "<if".
It is unknown when the company will change Apache to a newer one for my hosting.

Is it possible to somehow modify this line in htaccess?
Maybe it is unnecessary in Apache 2.2?

nicholas
Akeeba Staff
Manager

You must disable this feature until your host upgrades to Apache 2.4. The If construct is an integral part of the feature. If you remote the of-block you are telling the browser to not run JavaScript in any URL of your site which would, of course, break the site. There is no other way to reliably perform conditional disabling of JavaScript than using the If structure.

For what it's worth, Apache 2.4 was first released ten years ago. I don't think it's unreasonable for us to expect that hosts would have migrated away from Apache 2.2 over the last decade. That's more than one server hardware update cycle (5 to 8 years) which is the maximum period of time in which hosts rethink their base configuration.

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!