Re: How to get current DocumentRoot for VirtualHost in Config Handler

2006-07-12 Thread Philip M. Gollucci
Fred Moyer wrote: > I don't see a $s->document_root method in Apache2::ServerRec which is > where I would expect to see it... but try the above examples and see if > those help. t/response/TestVhost/config.pm (contains example usage) Aren't tests great !!! xs/maps/modperl_functions.map: mpxs_Apach

Re: How to get current DocumentRoot for VirtualHost in Config Handler

2006-07-12 Thread Fred Moyer
Christian Wetzig wrote: Hi, i have an config handler like in http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives is it somehow possible to lookup the current DocumentRoot from within a directive handler like the following sub MyParameter

How to get current DocumentRoot for VirtualHost in Config Handler

2006-07-12 Thread Christian Wetzig
Hi, i have an config handler like in http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives is it somehow possible to lookup the current DocumentRoot from within a directive handler like the following sub MyParameter { my ($self, $parms