Re: [squid-users] Help getting to work squid in accel mode, newbie. Infinite Loop by .htaccess.

From: Andres Salazar <ndrsslzr80_at_gmail.com>
Date: Tue, 28 Jul 2009 12:10:54 -0500

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
Received on Tue Jul 28 2009 - 17:11:03 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 29 2009 - 12:00:05 MDT