httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] alias in httpd.conf
Date Thu, 10 Jun 2004 11:30:18 GMT wrote:
> The problem here is that the "/myappli/static/" is a sub-URL of
> "/myappli/", so the Alias directive is not treated...
> Can anybody help me with that issu ?
> - Is thet any way to do that with LocationMatch and a regex ?

I'm sure there are better ways, but let's try that approach:

    <LocationMatch "/myappli/(?!static/)">
        JkUriSet worker lb:myappli-1

(?!...) is a "zero-width negative look-ahead" assertion. That should match
any /myappli/ request not followed by static/.

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