View Single Post
Old 2004-02-06, 05:01 AM   #11
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Try this:

AuthUserFile /dev/null
AuthGroupFile /dev/null
RewriteEngine on
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} !^http://.*domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://.*domain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.00.00.00/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://66.00.00.00.*$ [NC]
RewriteRule .*[Jj][Pp][Ee]*[Gg]$|.*[Gg][Ii][Ff]$ /index.html [R,L]

Coz if you get a surfer type in without the trailing slash, the htaccess sees it as not valid and won't show the pics.

The above allows .com and .com/
__________________
urb is offline   Reply With Quote