Skip to content

Commit

Permalink
Add .htaccess redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrody committed Jan 14, 2012
1 parent cd07b96 commit 20abd19
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 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>

0 comments on commit 20abd19

Please sign in to comment.