Problem with Spam Sites

Discussion in 'Apache' started by soul-healer, Aug 24, 2005.

  1. #1
    Hi,

    -i have problem with spam sites .. hit generated from spam sities and when i tried to block them using .htaccess file i get the err not even i myself can view my website Err Code 500 was generated.

    -I have attaching the file kindly take a look and please help me out.

    Regards.
     

    Attached Files:

    soul-healer, Aug 24, 2005 IP
  2. johnt

    johnt Peon

    Messages:
    178
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The format of your RewriteConds is wrong. Try
    RewriteCond %{HTTP_REFERER} (www\.)?domain\.com [NC,OR]
    Code (markup):
    instead. I think that should work.

    John
     
    johnt, Aug 24, 2005 IP