httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] regexp in Locationmatch
Date Fri, 18 Jun 2004 13:16:54 GMT
[plain text, please...]

Lucioni Lorenzo wrote:
> I have this problem: I need to tell, with regular expression,

You know, the web is a wonderful place:

> to apache LocationMatch, the following sentence:
> "all starting with /abcd but not starting with /abcd/efgh"

Perhaps this will do:

     <LocationMatch "^/abcd/(?!efgh)">

> Probably I can do it using regular expression in an advanced
> way but I'm not so practice with reg-exp.

Take a look in the above document, under look-ahead (negative) assertions.

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