httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rott" <>
Subject [users@httpd] Protecting Your Images
Date Sun, 21 Mar 2004 00:52:51 GMT
Im using apache 2.0.47 on a win2000 Pro  computer and I want to protect my
gif's and jpeg's I found this nice code for doing that but every time I
start apache I get and error from apache
RewriteCond: bad flag delimiters

 the code is found here

SetEnvIfNoCase Referer !"^" not_local_ref=1
SetEnvIfNoCase Request_URI ".(gif|jpg)" is_image=1
RewriteEngine On
RewriteCond $ {ENV:not_local_ref} =1
RewriteCond $ {ENV:is_image} =1
RewriteRule .* - [Last,Env=poach_attempt:1]
CustomLog logs/poachers_log CLF env=poach_attempt

I have googled for it and found some things but nothing that really helped
me fix it


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message