httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From K R <kp0...@gmail.com>
Subject [users@httpd] redirect q
Date Wed, 30 Sep 2015 01:19:23 GMT
Hi,

I am trying to force redirect HTTP to HTTPS  as below

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*)  https://%{SERVER_NAME}/$1 [R,L]

but it fails with too many redirect error .

appreciate any help .

thanks
Kart

Mime
View raw message