httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: svn commit: r1583175 - /httpd/httpd/trunk/modules/mappers/mod_alias.c
Date Sun, 30 Mar 2014 20:52:47 GMT
On Sun, Mar 30, 2014 at 4:13 PM, Rainer Jung <rainer.jung@kippdata.de> wrote:
> What would have been the expected prefix value in this case?

Sorry, got myself mixed up with regm[0], it's the entire match not a capture.

Once you have a trailing wildcard like that, this code will think the
entire request path was the prefix.

> What in the AliasMatch / /some/thing case?

For "AliasMatch / /some/thing", a prefix of "/" makes sense but
nothing will ever be meaningful for the context document root.

Is there any AliasMatch that does produce a meaningul prefix and
context document root? It makes sense that it could never know.


-- 
Eric Covener
covener@gmail.com

Mime
View raw message