I have a weird problem that doesn't make sense to me.
My .htaccess file look like this;
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://w*.mypage.com.*$
RewriteRule ^.*$ http://www.somepage.com [R]
Simply put, if you try to access a file outside of my page you will be redirected.
Now the problem occurs when I try to view a pdf file in this directory. The error I get from acrobat is "File does not begin with '%PDF-'". However it in fact does start with '%PDF-' and when I remove the .htaccess file I am able to view the pdf file. Text files are not affected by the .htaccess file.
Does anyone know if this is an Acrobat issue or a web hosting issue?
Can anyone check if this happens to them? I dont have access to another server so i cant check myself.
Any way to get around it without removing the .htaccess file, that's a security measure I can't live without?
Why would this even affect any files???
btw im useing M$IE and adobe acrobat. Netscape has no problems with this issue.
Thanks for your help
Hagai