httpd-users mailing list archives

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

On Tue, Oct 13, 2015 at 12:27 AM, Earl Terwilliger <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message