Forum Moderators: phranque

Message Too Old, No Replies

401 deeplinker domain by .htaccess

         

JAB Creations

6:54 am on Dec 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd like to block specific domains from unresponsive deeplinkers.

Lets say bobsmith.ugly is stealing my bandwidth, how do I block requests from that domain specifically?

jdMorgan

7:55 am on Dec 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use RewriteCond with the %{REMOTE_HOST} variable if bobsmith.ugly is the client fetching the content, or with %{HTTP_REFERER} if clients are following deeplinks on the bobsmith.ugly site. If the latter case is true, please look through this forum for the many hotlinking threads -- there are some caveats that go with blocking by referrer, especially if multimedia content like video is involved.

Jim