httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] mod_rewrite
Date Tue, 13 Oct 2015 07:18:49 GMT
Hello,

On Tue, Oct 13, 2015 at 12:27 AM, Earl Terwilliger <earl@micpc.com> wrote:
>
> if I want to block anyone manually typing in a link (no referer) +
> hotlinking (probably has a referer). Do i need the [OR] on the 1st
> RewriteCond and not the 2nd one? It seems to work with OR on both
> conditions.

If you want to forbid access to images when the referrer is empty,
just remove the first RewriteCond (the case is caught by the second
one already).
As noted by Kurtis, the [OR] on the second one is ignored.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message