Re: overlapping <Location>-Sections

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

 



Hello,

Am 23.03.2010 13:34, schrieb Eric Covener:
>> Negation within the pattern of <Location> or <LocationMatch> seems to be
>> impossible (like <LocationMatch "!/websvn">).
> 
> you have to do the negation in PCRE -- see "negative lookahead"

Do you mean something like this?

<Location "/websvn">
   WebSVN stuff
</Location>

<LocationMatch "/(?!websvn)">
   subversion stuff
</LocationMatch>

Unfortunately this does not work, too.

I did never use negative lookahead within regular expressions before.
Maybe I misunderstood the correct syntax. But I tested this pattern with
python and it seems to work there.

Ingo

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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