View Single Post
Old 10-17-2002, 07:21 AM  
Scootermuze
Confirmed User
 
Join Date: Dec 2001
Posts: 4,513
htaccess problem.....

I tried using this simple htaccess file in a directory I want protected...:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^www.xyz.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^xyz.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^www.xyz.com:80/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^xyz.com:80/.*$ [NC]
RewriteRule .*\.jpg$ http://www.go here if not xyz.com[R,L]

I'm getting the red x even when coming from xyz.com...

hep me hep me!!
Scootermuze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote