Forum Moderators: phranque
I'm using mod_rewrite to prevent bandwidth theft and hotlinking of my graphices and images. However, I also have an RSS feed, and I want to be able to write an exception in my htaccess file to allow the RSS logo image for my feed to be remotely linked. Is there a way to do that? Appreciate any help :D
Sure, just precede your remote-linking-block rewrite rule with an exclusionary RewriteCond:
RewriteCond %{REQUEST_URI}!allowed_image\.gif$
This will be in addition to the RewriteCond(s) that allows access if the referrer is your own domain, is blank, or is a known allowed entity such as the Google or WebHippo cache, or the Google or AltaVista page translator.
Jim