From 20abd19e623eb905682907cedb6b45c477b034b0 Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Sat, 14 Jan 2012 17:26:43 +0000 Subject: [PATCH] Add .htaccess redirect --- htaccess | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 htaccess diff --git a/htaccess b/htaccess new file mode 100644 index 0000000..3321097 --- /dev/null +++ b/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 + + + RewriteEngine on + RewriteCond %{REMOTE_ADDR} !^123\.345\.567\.789 + RewriteBase / + RewriteRule .* http://protestsopa.org/ [R=302] + \ No newline at end of file