Chair Hosting Posted February 1, 2015 Report Posted February 1, 2015 Hello, I am currently trying to enable ForceSSL in htaccess. However each time it is enabled, it gives off a "Redirect Loop" Error on the browser. Code Used: RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L] Full htaccess ######################################################## # package: minPHP # filename: .htaccess ######################################################## <Files ~ "\.(pdt)$"> order deny,allow deny from all </Files> # Protect against Clickjacking Header append X-Frame-Options "SAMEORIGIN" RewriteEngine on # Force HTTPS RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php RewriteCond %{REQUEST_URI} ^(.*)/install.php$ RewriteRule install.php %1/install/ [R=301,L] Thanks, Jacob Quote
0 Michael Posted February 1, 2015 Report Posted February 1, 2015 That's a server issue, it could be you have force SSL somewhere else or it could be you have MOD_SPDY which will play up if you don't force it another way... Best to contact your host. Quote
0 Chair Hosting Posted February 1, 2015 Author Report Posted February 1, 2015 Hello, I host this on my own vps xD.. Thanks, Jacob Quote
0 Michael Posted February 2, 2015 Report Posted February 2, 2015 Hello, I host this on my own vps xD.. Thanks, Jacob Do you have any of the above: Mod_SPDY, Nginx? interWorx & subdomain? Quote
Question
Chair Hosting
Hello,
I am currently trying to enable ForceSSL in htaccess. However each time it is enabled, it gives off a "Redirect Loop" Error on the browser.
Code Used:
Full htaccess
Thanks, Jacob
3 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.