使用以下.htaccess将我的查询重定向到fcgi scriptI会出现递归重定向问题。任何人都可以建议需要调整什么?
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteCond %{HTTP_HOST} !^answers.mynewdomain.co.uk$ [NC]
RewriteRule ^(.*)$ http://answers.mynewdomain.co.uk/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ osqa.fcgi/$1 [QSA,L]
答案 0 :(得分:0)
这有助于摆脱困境吗?
RewriteCond %{HTTP_HOST} !^answers\.mynewdomain\.co\.uk$ [NC]