Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add .htaccess redirect

  • Loading branch information...
commit 20abd19e623eb905682907cedb6b45c477b034b0 1 parent cd07b96
@cbrody cbrody authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 htaccess
View
11 htaccess
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.