- 0
Apache Config for Anti-SOPA Blackout
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 5 views
-
- 0 replies
- 8 views
-
Microsoft is introducing a new SSO service for Office Add-ins on the web
By Usama Jawad96,
- microsoft office
- office on the web
- (and 8 more)
- 0 replies
- 9 views
-
ISRG to begin making Apache HTTP Server more secure
By zikalify,
- isrg
- internet security research group
- (and 8 more)
- 1 reply
- 433 views
-
Save 95% off the Complete Big Data eBook & Video Course Bundle
By News Staff,
- neowin deals
- sponsored
- (and 14 more)
- 0 replies
- 235 views
-
Question
cybertimber2008
For anyone that might be helped by this, I've googled it and tried to make it as drop-dead easy as it can be.
Good for Apache Servers (likely 1.3 and higher)
1. Create a page "antisopa.html" and place it in the root of your web directory (eg, /var/www/html/antisopa.html)
2. Insert the following at the end of your httpd.conf
3. Save your config and restart your apache server service and test.
On the second line (RewriteCond...), you can add directories to omit or select directories to only redirect for. Currently it's set to not redirect any request to the "omit" directory. Uncomment and change it if you need.
For today:
Recomment the last 3 lines, save the config file and restart your apache service and your site will be back to normal.
Then, uncomment the relevant lines and save the config. All you'll need to do on the 17th is restart apache for it to take effect.
Open to any suggestions on how to improve this.
Edit: I have uploaded a"antisopa.html" document that I'm using, just incase it's helpful for anyone else. It's XHTML 1.0 Strict compliant.
antisopa.zip
Edited by cybertimber2008Link to comment
https://www.neowin.net/forum/topic/1051699-apache-config-for-anti-sopa-blackout/Share on other sites
8 answers to this question
Recommended Posts