Support

Admin Tools

#38194 Admin tools htaccess is destructive to the default backend template in joomla 4.2.6

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
4.2.6
PHP version
8.0.26
Admin Tools version
7.2.0

Latest post by nicholas on Sunday, 18 December 2022 05:20 CST

jciconsult

when the Htaccess is enabled the backend loses its formatting and becomes unusable.  the only solution is to disable the htaccss.

 

nicholas
Akeeba Staff
Manager

No, it's not. I am using it on all of my live, test, and development sites.

However, you need to remember a few things:

  • If you are using OpenLiteSpeed (not LiteSpeed proper) IT IS BROKEN BECAUSE OF A DELIBERATE LIMITATION IN OPENLISTESPEED (namely: OpenLiteSpeed does not allow any conditionals blocks, applying all .htaccess rules indiscriminately, which breaks even Joomla's built-in and recommended .htaccess content you can find —along with the warning I personally added upon discovering this problem— in htaccess.txt at the root of your site). I see that your sapi_name is "litespeed" which, unfortunately, is shared by both OpenLiteSpeed (broken) and LiteSpeed (working). Ask your host which one you have. If you have OpenLiteSpeed, sorry, find a better host which doesn't use a broken web server to save a fistful of dollars per hosted site.
  • Not all .htaccess rules work on all .htaccess hosts. Did you read the documentation telling you that and what to do?
  • Make sure that your $live_host in your configuration.php file is empty like this: public $live_site = ''; This should be empty unless you are on a broken server which does not pass the HTTP Host header to PHP.
  • Make sure the host you are using at the bottom of the .htaccess Maker's configuration page matches the hostname of your site. If you have a non-www to www redirection (or vice-versa) set up it needs to match the final redirection set up there. For example, if your site is example.com and you have a non-www to www redirection you are redirecting users to www.example.com, therefore that's what you need to use in the .htaccess maker 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!

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!