Permalink
Browse files

Add .htaccess redirect

  • Loading branch information...
1 parent cd07b96 commit 20abd19e623eb905682907cedb6b45c477b034b0 @cbrody cbrody committed Jan 14, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 htaccess
View
@@ -0,0 +1,11 @@
+# PROTEST SOPA REDIRECT
+# 1. Change the example IP address to match your own
+# 2. If you have an .htaccess file add the following code to the top, or
+# 3. Place this file in your server's webroot and rename it to .htaccess
+
+<IfModule mod_rewrite.c>
+ RewriteEngine on
+ RewriteCond %{REMOTE_ADDR} !^123\.345\.567\.789
+ RewriteBase /
+ RewriteRule .* http://protestsopa.org/ [R=302]
+</IfModule>

0 comments on commit 20abd19

Please sign in to comment.