NOV Piseth Posted October 18, 2016 Report Posted October 18, 2016 Dear Sir/Madam, I was install blesta and it work well with http:// but after I use feature force to HTTPS with instruction https://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-ForcingHTTPS I could not find login page even I try to access http://billing.mydomain.com/index.php/admin/login/ the question for help is how can I use https and properly login page without redirect from https://billing.mydomain.com/index.php/admin/login/ to https://billing.mydomain.com thanks for your idea. Best Regards, Quote
0 NOV Piseth Posted October 18, 2016 Author Report Posted October 18, 2016 I was accidental click two time so my post is two. please kindly remove one. thanks you Quote
0 Michael Posted October 18, 2016 Report Posted October 18, 2016 It could be you are using HSTS which causes issues: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://example.com/$1 [R,L] Also I highly recommend you use .htaccess so it's no longer /index.php/admin/ etc. Quote
0 NOV Piseth Posted October 18, 2016 Author Report Posted October 18, 2016 I was follow your intruction but when I access https://billing.mydomain.com/index.php/admin/login or https://billing.mydomain.com/admin/login still redirected to https://billing.mydomain.com Quote
0 Michael Posted October 18, 2016 Report Posted October 18, 2016 Ok I would contact your webhost because unless you can provide me a domain or something to see why. Quote
0 NOV Piseth Posted October 19, 2016 Author Report Posted October 19, 2016 I think just changed .htaccess file it should not problem like this. Quote
0 Michael Posted October 19, 2016 Report Posted October 19, 2016 3 hours ago, NOV Piseth said: I think just changed .htaccess file it should not problem like this. Well it's the first case of this, I've installed Blesta many times the only issues which happen is either the apache config is incorrect or HSTS is enabled and shouldn't redirect to a domain but change http:// to https://, or editing the .htaccess which forces https:// Quote
0 NOV Piseth Posted October 19, 2016 Author Report Posted October 19, 2016 8 minutes ago, Licensecart said: Well it's the first case of this, I've installed Blesta many times the only issues which happen is either the apache config is incorrect or HSTS is enabled and shouldn't redirect to a domain but change http:// to https://, or editing the .htaccess which forces https:// sorry what is HSTS you mention about? Quote
0 Michael Posted October 19, 2016 Report Posted October 19, 2016 7 minutes ago, NOV Piseth said: sorry what is HSTS you mention about? HSTS (HTTP Strict Transport Security) forces Https:// : https://www.troyhunt.com/understanding-http-strict-transport/ Quote
Question
NOV Piseth
Dear Sir/Madam,
I was install blesta and it work well with http:// but after I use feature force to HTTPS with instruction
https://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-ForcingHTTPS
I could not find login page even I try to access
http://billing.mydomain.com/index.php/admin/login/
the question for help is
how can I use https and properly login page without redirect from https://billing.mydomain.com/index.php/admin/login/ to https://billing.mydomain.com
thanks for your idea.
Best Regards,
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.