perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Wetzig <>
Subject How to get current DocumentRoot for VirtualHost in Config Handler
Date Wed, 12 Jul 2006 12:51:55 GMT

i have an config handler like in

is it somehow possible to lookup the current DocumentRoot from within a
directive handler like the following

  sub MyParameter {
      my ($self, $parms, @args) = @_;
      # somehow get DocumentRoot (not ServerRoot)

i've tried various approaches and looked through api-docs, but without success :-(

$parms->server->server_hostname gives me the current VirtualHost, but i see no
method for looking up DocumentRoot.

Thanks for any hints.

best regards,

View raw message