You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/12/22 05:48:28 UTC

Re: Apache::Server empty at startup?

On Fri, 13 Oct 2000, Tom Maes wrote:

> I am stuck on the following problem trying to access an Apache::Server
> object within a PerlRequire startup script.
> 
> No matter what I try, the object never gives me back any useful values.
> The following code for example:

>   print LOG ("port = " . $s->port . "\n");
>   print LOG ("server_admin = " . $s->server_admin . "\n");
>   print LOG ("server_hostname = " .

have Port, ServerAdmin, ServerHostname been configure before your
PerlRequire?  looks like no, Apache->server at startup works fine for me
with those values, provide its in the right place.