perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject Re: Where from does Apache-Test get the servername used
Date Fri, 24 Mar 2006 10:40:47 GMT
On Thursday 23 March 2006 00:02, Tom Schindl wrote:
> how does Apache-Test retrieves the servername inserted into httpd.conf
> is it possible to access this value while running tests?

I think, Apache::Test::vars->{servername}.

$ APACHE_TEST_HTTPD=/opt/apache22/sbin/httpd perl -MApache::Test -MData::Dumper -e 'warn Dumper(Apache::Test::vars)'
$VAR1 = {
...
          'servername' => 'localhost',
...
        };


Torsten

Mime
View raw message