I've got a simple web site (large, but simple - NO subwebs) and just want to keep other sites from hotlinking my files... I added the code below, which stops my files from being directly accessible when other sites try to hotlink them, but when this code is in my .htaccess file (in my root web dir /httpdocs) I can no longer load the site up with FrontPage - and my web search form no loner works (simple for where users can enter text to search within the site for pages containing that text). Here's the code I have so far:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} .*jpg$¦.*gif$¦.*png$ [NC]
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!mydomain\.com [NC]
RewriteRule (.*) [F]
Is there any lines I'm missing so that I can open the site up with frontpage for editing? (and preferrably so the "search the site" form works as well)