I have this htaccess file in place at one of my domains...
AuthType Basic
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^
http://www.amanogawa-sfm.com/ [NC]
RewriteCond %{HTTP_REFERER} !^
http://amanogawa-sfm.com/ [NC]
RewriteCond %{HTTP_REFERER} !^
http://www.amanogawa-sfm.com [NC]
RewriteCond %{HTTP_REFERER} !^
http://amanogawa-sfm.com [NC]
RewriteRule /*
http://www.amanogawa-sfm.com/index.shtml [R,L]
It is placed in a subdir on the server along with a bunch of Adobe PDF files and one html page with links to these PDF files. However when I click on the links to open the PDF files I get an error in Acrobat Reader saying "File does not start with %PDF". Removing the htaccess... and everything works fine. Whats up with that?