View Single Post
Old 02-15-2002, 12:06 PM  
Naughty
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,483
Actually, this works:
RewriteEngine On

RewriteCond %{HTTP_COOKIE} !^.*login=pass.*$

RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*naughtysecrets.co.uk/ [NC]

RewriteRule .* http://www.naughtycelebs.co.uk/gallery/ [R,L]

BUT, as soon as I change it to this, it stops working:
RewriteEngine On
RewriteCond %{HTTP_COOKIE} !^.*login=pass.*$
RewriteCond %{HTTP_USER_AGENT} ^.*Buddy.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*Whacker.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*FileHound.*$
RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*naughtysecrets.co.uk/ [NC]

RewriteRule .* http://www.naughtycelebs.co.uk/gallery/ [R,L]

I'm puzzled

Last edited by Naughty; 02-15-2002 at 12:08 PM..
Naughty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote