To be specific, I was talking about this kind of annoying SPAM that is send to peoples mailbox from innocent people webservers, because they left a door open and someone was capable of dropping a webserved page that sends mail to the webserver.
I found already one of the doors and closed it, but now I want to close a few buildings and go through them, check all the doors, and re-open them after I checked them out.
What I am currently doing is placing on the root level of the web directory of the building I want to close following .htaccess file
Text Formatted Code
Redirect / http://www.my-site-that-is-secure-and-clean.net/
then on the my-site-that-is-secure-and-clean.net I have one index.html file, saying whatever, and that one should be shown all time.
To get this working I redirect the 404 also to this file on the new site
So it´s .htaccess looks like this
Text Formatted Code
ErrorDocument 404 /index.html
Now this is I guess a pretty ugly way of doing it, but it does the trick.
If anyone knows a more clean way, let me know.
Thanks,
Boris
Vanrillaer.com - our Family Portal