quote:
Originally posted by usr bin geek:
Is there a way to use this but exempt some specific files located in the directory your protecting and also allow some specific websites?
I'm not sure about exempting some files, but if you want to allow certain specific other sites, just add some more conditions:
code:
[qb]RewriteCond %{HTTP_REFERER} !^http://(www.)?site1.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?site2.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?site3.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?site4.com/ [NC]
[/qb]