On Tue, Mar 23, 2010 at 12:00 PM,  <rog7...@web.de> wrote:
> 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>
>

I thought you only wanted one section, note the order of
precedence/evaluatuion in the manual for the different containers,
which I believe is the opposite of the order you listed them.  If
they're totally independent, you could two exclusive LocationMatch
directives.


-- 
Eric Covener
cove...@gmail.com

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to