forked from SaraJo/SOPA-PIPA-Protest-Page
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |