In response to my query about how to get a list of virtual
servers, Matt Sergeant wrote:

> It's server->next():
> 
> for (my $s = Apache->server; $s; $s = $s->next()) {
>         print "Virtual host: ", $s->server_hostname, "\n";
> }

Here's a followup:

Is there any reasonable way to use the list of servers (successive
values of $s above) to determine what mod_perl PerlSetVar directives
have been issued for each virtual host?

E.g., is there some clever way to use Apache::ModuleConfig->get ()
to do this?

-- 
Richard Goerwitz                                [EMAIL PROTECTED]

Reply via email to