Forum Moderators: phranque

Message Too Old, No Replies

Trying to Implement Dvoraks Comment Spam Fix

         

BlackRaven

3:14 am on Sep 28, 2005 (gmt 0)

10+ Year Member



Hi wondering if anyone could help me understand how exactly does the code below. I need a basic understanding of what each line does in the code below, so that i can implement this on my site. Thanks

< location /blog/wp-comments-newpost.php >
RewriteEngine On
RewriteCond %{HTTP_REFERER}!^.*my_domain.org/.*
RewriteRule ^.* http://www.example.com/comment-spam.html
< /location >

[edited by: jdMorgan at 2:00 am (utc) on Oct. 2, 2005]
[edit reason] example.com [/edit]

jdMorgan

2:01 am on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For a good start toward understanding that code, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim