1

I am trying to use Varnish + Pound, when using https everything is OK except only hompage has redirect loop. The others page are OK. Here is my rewrite rule in .htaccess file.

Please help me with redirect loop

 RewriteEngine On 
 RewriteCond %{HTTP:X-Forwarded-Proto} !https
 RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,QSA]
  • There might be an existing redirect somewhere else. – GwenM Dec 30 '15 at 9:22
  • I don't know where, is there a solution to find out where it is? – Hoang Gia Dec 30 '15 at 10:39
  • your apache vhosts? – GwenM Dec 30 '15 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.