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
pgpCGYqHV7wy3.pgp
Description: PGP signature
