View Single Post
Old 06-27-2004, 12:17 AM  
bawdy
Confirmed User
 
Join Date: Feb 2002
Posts: 1,424
.htaccess question

Im using the following htaccess in the top level of my domain. This works fine for all documents in sub-folders... the images show properly... but on the top level (ie default document) the images dont display. How can I correct this so that the images show properly in the default document?


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
bawdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote