httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <>
Subject Re: [PATCH] Allow DocumentRoot within Location blocks
Date Mon, 07 Jan 2002 05:34:55 GMT
On Saturday 05 January 2002 06:27 am, Sander Striker wrote:
> Hi,
> I've tried to tackle this issue in STATUS:
>     * Allow the DocumentRoot directive within <Location > scopes?  This
>       allows the beloved (crusty) Alias /foo/ /somepath/foo/ followed
>       by a <Directory /somepath/foo> to become simply
>       <Location /foo/> DocumentRoot /somefile/foo (IMHO a bit more legible
>       and in-your-face.)  DocumentRoot unset would be accepted [and would
>       not permit content to be served, only virtual resources such as
>       server-info or server-status.
>         This proposed change would _not_ depricate Alias.
> My patch probably is incomplete (and most likely I broke something), but it
> is a first cut I'd like some feedback on.  For starters, document_root is
> moved for core_server_conf to core_dir_conf.  core_dir_conf got an extra
> field telling you what type of dir conf it is.  Wrowe suggested that we might
> want a registration API for this, but I decided to go with an enum for
> starters.  Registration can come in a later iteration.

I would like to discuss the reasoning behind this change.  Why are we trying
to overload the meaning of DocumentRoot this way?


Ryan Bloom
Covalent Technologies

View raw message