View Single Post
Old 11-27-2002, 01:40 PM  
Darren
Confirmed User
 
Darren's Avatar
 
Join Date: Sep 2001
Posts: 5,994
What si wrong with this .htaccess?

Does not seem to be working? The 404/403 errors work but you can still hotlink for some reason. Also is there anything missing from it?

ErrorDocument 403 http://www.penis-health.com/404.html
ErrorDocument 404 http://www.penis-health.com/404.html


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://penis-health.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.penis-health.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://penis-health.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.penis-health.com:80.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.181.161.10.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.181.161.10:80.*$ [NC]
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.penis-health.com/hotlink.html
Darren is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote