I'm completely new to mod_rewrite. I'm converting from IIS to apache just to leverage this "Voodoo"!
I've read some posts regarding the topic of bandwidth theives. I'm going to build a photo gallery, and I dont want others scumming my photos.
I've found this code on the forum for restricting access to images within the site
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://localhost/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mywebsite/images/.*$ [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG|JPEG|pjpeg).*$ http://mywebsite/images/bad.gif [L,R]
If I do a inline image tag with an absolute path it doesnt serve up my bad image. if I type in the absolute path into the address bar I get the bad image in firefox, but the orginal image shows up in IE.
any clues?
BTW: what's the deal with the russian dude calling everyone suckers?