Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-01-22, 09:25 AM   #1
7hom4s
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Dec 2004
Posts: 50
How do I block ONE domain in my htaccess?

I've tried just about anything. Can someone here please, please help me inserting a piece of code that will get rid of traffic from besthardcore.net?
This is my htaccess file as it is now, preventing only hotlinking, but not traffic from this useless tgp or whatever it is:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?sensual-ladies.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?catyxxx.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.sensual-ladies.com [R,NC]

Can someone please help me, rewriting this, so I can just upload it?
Each time I try to change it, I end up not having access to my sites, no matter from where I try to gain access. I just need this ONE single domain to get lost as soon as possible.

7hom4s
7hom4s is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:15 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc