Htaccess Control Of Specific Files
Is there any way to get this code to work for a specific jpg file, instead of all jpg files?
RewriteCond %HTTP_REFERER} !^http://www\.wxyz\.com/ [NC]
RewriteRule \.jpg$ - [F]
I tried changing the last line to
RewriteRule ^somespecificfile\.jpg$ - [F]
(with and without the carrot)
and it didn't work.
The code above allows jpg images in a webpage to show and doesn't allow jpg images to be brought up alone (somespecificfile.jpg) in a browser. I'd like this to work for one specific jpg instead of all jpgs.