将drupal站点移到fast-cgi后,有太多的redirect
这是麻烦:当我按照这个链接 – http://znak.net.ua它重写到http://znak.net.ua/ru/ru/ru/ru/ru/ ,我得到错误310(净: :ERR_TOO_MANY_REDIRECTS) 发生这种情况时,我开始使用fast_cgi保证mod_php这里是我的.htaccess: ErrorDocument 404“找不到请求的文件favicon.ico。 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>