Ok what is wrong with this rewrite code? RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?website.com/.*$ [NC] RewriteRule \.(gif|jpg|png|jpeg|txt)$ - [F] [NC] Evertime i load it in htaccess i get a 403 forbidden error when trying to access the site thru frontpage. If i remove it, i can access the site with frontpage.
Check your logs to see exactly which request is producing the forbidden result code. Perhaps Frontpage is trying to download any image or something. Anyway, when you see which request is causing the forbidden you should be able to fine-tune your .htaccess accordingly
That's why it was removed. It should not cause an error. So why is it? Should be RR? REFERRER? Nope that did not work either. RewriteEngine on RewriteCond %{HTTP_REFERRER} !^$ RewriteCond %{HTTP_REFERRER} !^http://(www\.)?website.com/.*$ [NC] RewriteRule \.(gif|jpg|png|jpeg|txt)$ - [F] [NC]