httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: [PATCH] Allow DocumentRoot within Location blocks
Date Mon, 07 Jan 2002 19:55:05 GMT
From: "Rodent of Unusual Size" <Ken.Coar@Golux.Com>
Sent: Monday, January 07, 2002 1:47 PM

> Ryan Bloom wrote:
> > 
> > Note that I said the module needed to be written correctly.
> > Mod_status doesn't have a map_to_storage hook, which would
> > be required to avoid the stats.
> I'm in favour of a mechanism that doesn't require every single
> generated-content module to be rewritten to include an essentially
> duplicate function.

Worse yet - how do we know that the handler is for mod_status,
when the handler isn't set in translate names?

SetHandler/Alias is really showing it's age.  JKMount works because
the JKMount directive is handled in the translate_name hook.

SetHandler can't accomplish this.

Perhaps a LocationMountHandler {handlername} would work, as a 'generic'
method.  But do we want to force each module to do so?

I honestly believe that Unsetting the DocumentRoot is simpler.  It still
might be overridden (causing 'extra' stats) because of a mod_rewrite or
other directory mapping, but this makes life somewhat easier.


View raw message