[TriLUG] Rewrite rule for 403 hits from some hosts

Matt Frye mattfrye at gmail.com
Mon Jan 10 17:46:03 EST 2005


I've been thinking about writing a Rewrite rule to take 403 hits from
certain hosts and redirect them someplace horrible.

Does this make sense?

RewriteCond %{REMOTE_HOST}  *loserville.net
RewriteRule  ^/$                 http://www.example.com

Any informed input would be greatly appreciated.

MPF



More information about the TriLUG mailing list