310 too many redirects after moving drupal site to fast-cgi
- by Jaels
Here is trouble:
When i follow this link - http://znak.net.ua it rewrites to http://znak.net.ua/ru/ru/ru/ru/ru/ and i got Error 310 (net::ERR_TOO_MANY_REDIRECTS)
This happend when i start using fast-cgi insteed of mod_php
Here is my .htaccess:
ErrorDocument 404 "The requested file favicon.ico was not found.
DirectoryIndex index.php
<IfModule mod_php4.c>
</IfModule>
<IfModule sapi_apache2.c>
</IfModule>
<IfModule mod_php5.c>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A1209600
ExpiresByType text/html A1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)$ http://znak.net.ua/ru/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ ru/index.php?q=$1 [L,QSA]
</IfModule>