Re: mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tue, Oct 13, 2015 at 12:27 AM, Earl Terwilliger <earl@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux