httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: current bugs with pre/post config stuff (maybe :) )
Date Sun, 11 Jun 2000 17:25:30 GMT

> 1) symptom: on system with bad/no DNS setup, ServerName isn't
>    processed so init fails
> 
> cause:
> 
>   ap_fini_vhost_config() called before ap_process_config_tree(), so
>   ServerName was never stored in the config structure
> 
> possible fix:
> 
>   Pull ap_fini_vhost_config() call out of ap_read_config() and defer
>   until after ap_process_config_tree is called.

I think this needs to be moved to a post_config hook in the core
personally.

> 
>   This seems to work o.k., but I don't have a fix for problem 2 yet so
>   I'm not yet 80% sure it is fine.
> 
>   At this point, main() is getting really bloated with config crapola,
>   and much of the config crapola is duplicated.

That's because we have always duplicated this stuff.  It should be
possible to get rid of the second call to most of this stuff, but I
haven't looked at it yet.

> 
> 2) symptom: on system with virtual hosts configured, SIGSEGV in
>    open_multi_logs() 
> 
> cause:
> 
>    the module configs for the virtual hosts haven't been merged in
>    yet, and open_multi_logs() gets NULL for the mod_log_config
>    configuration
> 
> possible fix:
> 
>    reorder stuff "properly" :)

What is the "proper" reorder?

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message