httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] overlapping <Location>-Sections
Date Tue, 23 Mar 2010 16:00:05 GMT

Am 23.03.2010 13:34, schrieb Eric Covener:
>> Negation within the pattern of <Location> or <LocationMatch> seems to
>> 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

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

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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message