httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Side effect of blocking images
Date Fri, 19 Mar 2004 22:46:55 GMT

On Fri, 19 Mar 2004, MyStuff wrote:
> >>RewriteCond %{HTTP_REFERER} !^http://my-server.com/.*$ [NC]
> >>RewriteRule .*\.jpg$        -          [F]

> Would it be possible to display an alternate image for those that are
> trying to hot link to images on my site?

Sure.  Just replace the above RewriteRule with something like

RewriteRule /images/my.jpg /images/no-you-dont.jpg

Joshau.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message