503 for site maintnance how to


#1

ive googled how to do this and im testing it on a local wamp before i put it live, but im getting the folowing error in the log

[Tue Sep 02 01:33:59 2008] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace., referer: http://localhost/

and a 500 error when i try to load the page… the htaccess coding im trying to use is…

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{REMOTE_HOST} !^1.1.1.1
RewriteCond %{REQUEST_URI} !^/503test\503.php [NC]
RewriteRule .* /503test/503.php

any idea’s?


#2

found it!

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{REMOTE_HOST} !^1.1.1.1
RewriteCond %{REQUEST_URI} !^/503test/503.php [NC]
RewriteRule .* /503test/503.php

one single misplaced \ go figure lol