Forum Moderators: phranque
where anything in that directory can easily be spidered by the advertising services I use to promote the site
is there a way to do that? where the entire site with the exception of that one directory does not allow hot linking
RewriteCond %{HTTP_REFERER}!^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif¦jpg¦swf¦mp3)$ - [F]
where do I add the exception and what's the proper syntax is what I was asking. I want to make sure I don't goof up the rest of my htaccess file because it's working so well for everthing else for the first time.
If you're asking me for code to cut and paste into your .htaccess, I'll have to refer you to this forum's Charter [webmasterworld.com].
You can find the mod_rewrite documentation here [httpd.apache.org], and you can find an intro for beginners here [webmasterworld.com].