Web Hosting Talk







View Full Version : need anti leech


creepcolony
08-04-2001, 01:42 PM
does anyone know any good working php/cgi anti leech scripts? i couldn't get any of the ones i could find to work

i also tried putting this into .htaccess:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://creepcolony.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.creepcolony.com/.*$ [NC]
RewriteRule .*\.(scm|SCM|scx|SCX|zip|ZIP|exe|EXE|rep|REP|mp3|MP3)$ http://www.creepcolony.com/leech.shtml [R]

but it gave my site internal server errors :( it worked for my old host though, and my new one said they have mod_rewrite installed and there is just a problem with my syntax...if anyone knows how to fix this please tell me...thanks.

eva2000
08-04-2001, 02:35 PM
might help http://faq.solutionscripts.com/misc/hot_linking.html ?

creepcolony
08-04-2001, 07:26 PM
that's exactly what i put in my .htaccess file but my host says there is a syntax error