Redirection loop using https
Posted: Wed Apr 16, 2008 9:31 pm
Hey there!
I am in the process of securing my admin area with https. My webspace provider apparently uses a separate service for his https implementation, so assuming my original url is http://www.myurl.de, the https version would be https://ssl-account.com/myurl.de.
To redirect all traffic from http://www.myurl.de/admin to https://ssl-account.com/myurl.de/admin, I am using an .htaccess file in the admin folder with the following content like proposed on one of the cmsms help pages:
But what happens is that I get a "The page isn't redirecting properly" error in firefox indicating that an infinite redirection loop occurred. My assumption is that the rewriterule is trying to call https://ssl-account.com/myurl.de/admin/index.php which is then redirected by cmsms to http://www.myurl.de/admin/index.php which is then redirected by rewriterule and so on.
Can someone give me a hint what I need to change in cmsms to make this work?
Thanks a lot in advance!
b0n3m4n
I am in the process of securing my admin area with https. My webspace provider apparently uses a separate service for his https implementation, so assuming my original url is http://www.myurl.de, the https version would be https://ssl-account.com/myurl.de.
To redirect all traffic from http://www.myurl.de/admin to https://ssl-account.com/myurl.de/admin, I am using an .htaccess file in the admin folder with the following content like proposed on one of the cmsms help pages:
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://ssl-account.com/myurl.de%{REQUEST_URI}
Can someone give me a hint what I need to change in cmsms to make this work?
Thanks a lot in advance!
b0n3m4n