View Single Post
Old 06-15-2005, 07:16 PM  
Terenzo
Confirmed User
 
Join Date: Jan 2002
Posts: 971
can i have an image directory protected from the httpd.conf instead with an .htaccess file when the .htaccess file in the domain.com/images/ directory looks like:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain\.com/ [NC
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|bmp|png)$ http://www.domain.com/ [L]



and what would that code be?
many thanx.
__________________
Signature Spot - USD 5000 / month
Terenzo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote