Comment about: Webmaster Tips: Blocking Selected User-Agents
|
 |
| January 31, 2010 | | @Jesse: mod_rewrite is your friend | If you're already tweeking .htaccess, I'm guessing you're running under Apache. If so, do a little reading about mod_rewrite--you can write rules based on just about any aspect of a request that deflect slime balls however you wish.
I'd also recommend moving the rules out of .htaccess, which is read for every request, and into an Apache config file, which is read only when Apache starts up. | | |
|
|