Matt Sergeant wrote:
> > > for ($s = Apache->server; $s; $s = $s->next) {
> > > my ($server, $port) = ($s->server_hostname, $s->port);
> > > $r->print('server: ', $server, "\n");
> > > $r->print('port: ', $port, "\n");
> > >
> > > my $subreq = $r->lookup_uri("http:
On Tue, 13 Jun 2000, Richard L. Goerwitz wrote:
> Matt Sergeant wrote:
>
> > OK then, try this:
> >
> > for ($s = Apache->server; $s; $s = $s->next) {
> > my ($server, $port) = ($s->server_hostname, $s->port);
> > $r->print('server: ', $server, "\n");
> > $r->print('port
Matt Sergeant wrote:
> OK then, try this:
>
> for ($s = Apache->server; $s; $s = $s->next) {
> my ($server, $port) = ($s->server_hostname, $s->port);
> $r->print('server: ', $server, "\n");
> $r->print('port: ', $port, "\n");
>
> my $subreq = $r->lookup_uri("http
On Tue, 13 Jun 2000, Richard L. Goerwitz wrote:
> To get a list of virtual servers -
>
> > > > for (my $s = Apache->server; $s; $s = $s->next()) {
> > > > print "Virtual host: ", $s->server_hostname, "\n";
> > > > }
>
> > > Is there any reasonable way to use the list of servers (success
To get a list of virtual servers -
> > > for (my $s = Apache->server; $s; $s = $s->next()) {
> > > print "Virtual host: ", $s->server_hostname, "\n";
> > > }
> > Is there any reasonable way to use the list of servers (successive
> > values of $s above) to determine what mod_perl PerlSetV
On Mon, 12 Jun 2000, Richard L. Goerwitz wrote:
> 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";
> >
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 lis
On Mon, 12 Jun 2000, Rob Tanner wrote:
> I don't have my eagle book in front of me (two work places, onbe book) --
> in chapter 9, I think it's a mod_perl specific method (might be a server
> method though, can't remember) -- and I don't remember the name of the
> function either -- but basica
I don't have my eagle book in front of me (two work places, onbe book) --
in chapter 9, I think it's a mod_perl specific method (might be a server
method though, can't remember) -- and I don't remember the name of the
function either -- but basically it returns a list of all configured
virtual
On Mon, 12 Jun 2000, Richard L. Goerwitz wrote:
> It's not obvious to me how one might get a list of VirtualHosts that are
> configured for the current server instance (at run-time, e.g., from in-
> side a Perl module).
>
> Is there some canonical way to do this?
>
I would guess that you could
It's not obvious to me how one might get a list of VirtualHosts that are
configured for the current server instance (at run-time, e.g., from in-
side a Perl module).
Is there some canonical way to do this?
--
Richard Goerwitz[EMAIL PROTECTED]
11 matches
Mail list logo