perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Schindl <tomAtLi...@gmx.at>
Subject Re: Where from does Apache-Test get the servername used
Date Fri, 24 Mar 2006 15:15:10 GMT
Thanks found it myself some minutes after posting to list. i needed it
for my TomKit-0.01_4-release.

Tom

Torsten Foertsch wrote:
> 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