|
.htaccess, Your Website, and You |
|
Wednesday, 15 November 2006 |
|
For those of us who run websites on Apache, .htaccess is a very good thing. In this case, it is useful for blocking the RIAA, MPAA, and spammers. Using rewrites and denials, we can keep these scum from our websites. I have an example here , that you may want to just rename .htaccess and use. It contains all spambots that I know of, and the RIAA/MPAA ip ranges. I have also blocked some government ip ranges as well. If you need any other functions in your .htaccess file, and don't know how to do it all, see the htaccess generator.
Should you ever have a hacker or troll you wish to block, simply get his ip, and add it to the bottom of the "deny from" list. Ex: deny from "insertiphere."
|