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]
- mod_perl: Configuration info at run-time Richard L. Goerwitz
- Re: mod_perl: Configuration info at ru... J. J. Horner
- Caching and mod_perl Richard L. Goerwitz
- mod-perl and redhat 6.2 's apa... Clayton Cottingham aka DrFrog
- Re: mod-perl and redhat 6.2... Ged Haywood
- Re: Caching and mod_perl morpheus
- Re: Caching and mod_perl Richard L. Goerwitz
- Re: Caching and mod_pe... Perrin Harkins
- Re: mod_perl: Configuration info at ru... Rob Tanner
- Re: mod_perl: Configuration info a... Matt Sergeant
- Re: mod_perl: Configuration in... Richard L. Goerwitz
- Re: mod_perl: Configuratio... Matt Sergeant
- Re: mod_perl: Configu... Richard L. Goerwitz
- Re: mod_perl: Con... Matt Sergeant
- Re: mod_perl: Con... Richard L. Goerwitz
- Re: mod_perl: Con... Matt Sergeant
- Re: mod_perl: Con... Richard L. Goerwitz
