Search squid archive

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux