I have isloated the issue due to this .htaccess file:

AddHandler application/x-httpd-php .html .htm
AddType application/x-httpd-php .html .htm
Options +FollowSymLinks
RewriteEngine on

RewriteCond %{HTTP_HOST} ^protected-domain.com
RewriteRule ^(.*)$ http://www.protected-domain.com/$1 [R=301,L]

RewriteCond %{THE_REQUEST} ^.*/index\.[a-z]{3,4}
RewriteRule ^(.*)index\.[a-z]{3,4}$ http://www.protected-domain.com/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://www.protected-domain.com/ [R=301,L]

This is causing the infinite loop while traffic is passed through the
reverse proxy... Could anybody pelase advise me on why squid doesnt
like this and how to correct it?

Thanks
Andres

Reply via email to