Support

Admin Tools

#38744 Too many redirects after creating .htaccess file

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.9
PHP version
7.4
Admin Tools version
7.3.1

Latest post by tampe125 on Friday, 17 March 2023 04:54 CDT

freebandtech

After creating the enhanced .htaccess file using the .htaccess maker, I am getting an infinite loop (too many redirects).

On configuration.php, $live_site = '';

I also made sure that non-www to www rules were not added, since they are already set in the reverse proxy behind which the website is running.

The site is hosted in a containerised environment not directly accessible.

Requests are handled by an instance of Nginx acting as reverse proxy, which then forwards them to an Apache backend.

tampe125
Akeeba Staff

Hello,

can you please double check that the option HSTS is disabled inside the Htaccess Maker? In some server configurations it can create an infinite loop.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

freebandtech

Yep.

That did the trick.

Thanks for the prompt reply!

tampe125
Akeeba Staff

You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!