|
-
Feb 7th, 2012, 12:04 PM
#10
Re: Allow access to images only through my website pages
RewriteCond %{HTTP_REFERER} !^$ adds a condition for the RewriteRule that the referer header must not be empty. If you go to an image directly, then the header will be empty, so this condition fails and the RewriteRule is not effected.
Most do out of the box, but can be configured not to, in which case this solution will be ineffective, and will in fact prevent these users from seeing any images on your site.
If the browser were configured to not send headers, is it treated as an empty referer (and falls under the condition above) or something else?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|