Created
December 9, 2011 21:35
-
-
Save johnbacon/1453405 to your computer and use it in GitHub Desktop.
Revisions
-
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,20 @@ # Show temporary page for everyone but certain IP addresses. # My home IP: RewriteCond %{REMOTE_HOST} !^12\.220\.82\.229 # My work IP: RewriteCond %{REMOTE_HOST} !^12\.220\.82\.229 # Server IP (needed in some cases): RewriteCond %{REMOTE_HOST} !^64\.207\.128\.246 RewriteCond %{REMOTE_HOST} !^64\.207\.128\.146 RewriteCond %{REMOTE_HOST} !^70\.32\.65\.137 # Don't redirect requests for files that are needed for the temporary page: RewriteCond %{REQUEST_URI} !/images*$ RewriteCond %{REQUEST_URI} !/comingsoon/logo\.gif$ RewriteCond %{REQUEST_URI} !/comingsoon/favicon\.ico$ # Redirect all other requests to the temporary page: RewriteRule .* /fifteenth-anniversary [R=302,L]