httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Locationmatch, regex and tomcat
Date Thu, 17 Jun 2004 11:38:38 GMT
[plain text, please...]

Sez wrote:
> <LocationMatch "(?<!^/doc)">

That is a look-behind assertion, which doesn't really make sense to me. I
would use a look-ahead, eg:

    <LocationMatch "^/(?!doc)">

By the docs, it would translate to: match any string beginning with "/" not
followed by "doc".

Your problem might be something else, though.

Robert Andersson

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