Support

Admin Tools

#26230 error in HtaccessMaker

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, 02 November 2016 18:20 CDT

okkhalid
 Hello,

So I have set the options in the my HtaccessMaker, and I added the domain name in:
Host name for HTTPS requests (without https://) www.mydomain.com
Host name for HTTP requests (without http://) www.mydomain.com


but the issue is when after creating the htacess file, when you visit: www.mydomain.com

the domain transfer in the address line to: https://www.mydomain.com/https://mydomain.com/

to fix the issue, I had to go manually and remove these line from the .htacess file:

#RewriteCond %{HTTPS} !=on [OR]
#RewriteCond %{HTTP:X-Forwarded-Proto} =http
#RewriteRule .* https://mydomain.com/$1 [R=302]

May I know what is going on.

Thanks,

tampe125
Akeeba Staff
Hello,

first of all you have to disable HSTS, then you should contact your host.
The rules you commented redirect HTTP domain to HTTPS; however your server is misconfigured and reports the entire URL as the Host string (which must only contain the domain name)

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!

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!