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
RewriteEngine On
#RewriteCond %{REQUEST_URI} !^/omit.*
RewriteRule /.* http://www.yourdomain.com/antisopa.html
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.
Attached Files
Edited by cybertimber2008, 15 January 2012 - 21:47.











