Hi,

I would like to raise this issue again.  The proposed solution by
Anders Kaseorg:

> FWIW, when I ran into this problem in mod-vhost-ldap, I fixed it by
> making a copy of the entire server_rec structure in the request pool.

doesn't really work with mod_rewrite, because mod_rewrite contains this code:

    if (conf->server != r->server) {
        return DECLINED;
    }

in the hook_uri2file (translate_name hook).

which prevents mod_rewrite to run if server_rec structure is modified
before mod_rewrite. However all virtual document root modules need to
be run before mod_rewrite for -f and -d to work.

As far as I can see, the moving the document_root to request_rec is
only viable solution in the long run for virtualization modules.

Ondrej

On Thu, Aug 5, 2010 at 11:53, Ondřej Surý <ond...@sury.org> wrote:
> On Thu, Aug 5, 2010 at 10:25, William A. Rowe Jr. <wr...@rowe-clan.net> wrote:
>> On 8/5/2010 3:22 AM, Ondřej Surý wrote:
>>> William,
>>>
>>> On Thu, Aug 5, 2010 at 10:18, William A. Rowe Jr. <wr...@rowe-clan.net> 
>>> wrote:
>>>> On 8/5/2010 3:12 AM, Ondřej Surý wrote:
>>>>> I have a question how to proceed. Is there really no interest in doing
>>>>> this? (And fixing mod-vhost-alias as well.)
>>>>>
>>>>> Or should I fill the bug and attach the patch? Or ...?
>>>>
>>>> Please don't confuse ignoring your patch with lack of interest.  Everyone
>>>> here is a volunteer and dedicates the cycles they have free to attacking
>>>> the most pressing issue they see at the time.
>>>
>>> Sorry if that offended you or anybody else. I didn't ment to sound
>>> harsh as I was just merely asking what to do now.
>>
>> You didn't and I didn't mean to sound irritated, either, just trying to frame
>> what happens on this particular list for your info.
>
> Ok :).
>
>> Many 'nice to have' things for Apache 2.4 are ignored as more critical issues
>> in 2.2 are addressed, but with rising interest in frequent alpha/betas, we 
>> can
>> all hope that improves :)
>
> I've filled this under #49705
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49705
>
> Ondrej
> --
> Ondřej Surý <ond...@sury.org>
>



-- 
Ondřej Surý <ond...@sury.org>

Reply via email to