views:

24

answers:

1

Using the following .htaccess to redirect my query to fcgi scriptI get a recursive redirect problem. Can anyone suggest what needs tweaking?


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]
A: 

Does it help to escape the dots?

RewriteCond %{HTTP_HOST} !^answers\.mynewdomain\.co\.uk$ [NC]
toscho