Forked from iammart/Redirect all but 1 IP to different site, using mod_rewrite
Created
June 18, 2010 10:45
Revisions
-
a1phanumeric revised this gist
Jun 18, 2010 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ RewriteEngine On RewriteBase / RewriteCond %{REMOTE_HOST} !^00\.00\.00\.00 # Put your IP here RewriteRule .* http://www.google.com [R=302,L] -
iammart created this gist
Jun 18, 2010 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ RewriteEngine On RewriteBase / RewriteCond %{REMOTE_HOST} !^00\.00\.00\.00 RewriteRule .* http://www.google.com [R=302,L]