Thread: Bandwidth theft
View Single Post
Old 01-09-2002, 10:52 AM  
X37375787
Guest
 
Posts: n/a
Seem like you just discovered America !

The only way to avoid that crap is .htaccess,

it should look like this:

Quote:
ErrorDocument 403 http://www.domain.com/
ErrorDocument 404 http://www.domain.com/
ErrorDocument 500 http://www.domain.com/

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xxx.xxx.xxx.xxx.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.domain.com/
Hope this helps.

------------------
Vlad's TGP Submission Page
~ A Handjob Is Still The Best Way To Make $$$ ~
  Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote