httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wood, Bryan" <bry...@ti.com>
Subject RE: apache test suite
Date Wed, 24 Sep 2003 20:15:07 GMT


-----Original Message-----
From: Stas Bekman [mailto:stas@stason.org] 
Sent: Wednesday, September 24, 2003 3:03 PM
To: test-dev@httpd.apache.org
Subject: Re: apache test suite

Wood, Bryan wrote:
> 
> -----Original Message-----
> From: Stas Bekman [mailto:stas@stason.org] 
> Sent: Wednesday, September 24, 2003 2:26 PM
> To: test-dev@httpd.apache.org
> Subject: Re: apache test suite
> 
> Wood, Bryan wrote:
> 
>>Yes I have, but I can't get apache-test to run on my desktop machine.
>>There are always problems in the httpd.conf file it generates. 
> 
> 
> If you don't tell us what the problems are... we can't fix them...
> 
> ~/httpd-test/perl-framework$ t/TEST  -start-httpd
> *** setting ulimit to allow core files
> ulimit -c unlimited; t/TEST -start-httpd
> /usr/sbin/httpd -X -d /home/xf012502/httpd-test/perl-framework/t -f
> /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf -DAPACHE1 
> using Apache/1.3.27 
> 
> waiting for server to start: .Syntax error on line 70 of
> /home/xf012502/httpd-test/perl-framework/t/conf/httpd.conf:
> Invalid command 'SetHandler', perhaps mis-spelled or defined by a module
not
> included in the server configuration
> !!! 
> server has died with status 1 (t/logs/error_log wasn't created, start the
> server in the debug mode)
> ~/httpd-test/perl-framework$

Since you didn't bother (or didn't know that you should ;) to tell us what
do 
you have on line 70th, I'd guess that it's:

<Location /server-info>
     SetHandler server-info
</Location>

it's on a different line in my t/conf/httpd.conf, since it varies from setup

to setup.

SetHandler is provided by the core, so I don't know why does fail for you. I

doubt this has anything to do with Apache-Test. Can you use httpd normally? 
Can you please show us the first 80 lines of t/conf/httpd.conf?

# WARNING: this file is generated, do not edit
# 01:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p
m:743
# 02:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p
m:761
# 03:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.p
m:1286
# 04:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:4
08
# 05:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:5
89
# 06:
/home/xf012502/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm:5
89
# 07: t/TEST:20


User    nobody
Group    xf012502
ServerName localhost
Port 8529
Listen     8529

ServerRoot   "/home/xf012502/httpd-test/perl-framework/t"
DocumentRoot "/home/xf012502/httpd-test/perl-framework/t/htdocs"

PidFile     /home/xf012502/httpd-test/perl-framework/t/logs/httpd.pid
ErrorLog    /home/xf012502/httpd-test/perl-framework/t/logs/error_log
LogLevel    debug

<IfModule mod_log_config.c>
    TransferLog /home/xf012502/httpd-test/perl-framework/t/logs/access_log
</IfModule>

ServerAdmin nobody@localhost

#needed for http/1.1 testing
KeepAlive       On

HostnameLookups Off

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<IfModule worker.c>
    StartServers         1
    MaxClients           1
    MinSpareThreads      1
    MaxSpareThreads      1
    ThreadsPerChild      1
    MaxRequestsPerChild  0
</IfModule>

<IfModule perchild.c>
    NumServers           1
    StartThreads         1
    MinSpareThreads      1
    MaxSpareThreads      1
    MaxThreadsPerChild   1
    MaxRequestsPerChild  0
</IfModule>

<IfModule prefork.c>
    StartServers         1
    MaxClients           1
    MaxRequestsPerChild  0
</IfModule>

<IfModule mpm_winnt.c>
    ThreadsPerChild      20
    MaxRequestsPerChild  0
</IfModule>

<Location /server-info>
    SetHandler server-info
</Location>

<Location /server-status>
    SetHandler server-status
</Location>

Alias /getfiles-perl-pod /usr/lib/perl5/5.6.1/pod
Alias /getfiles-binary-httpd /usr/sbin/httpd
Alias /getfiles-binary-perl /usr/bin/perl

TypesConfig "/home/xf012502/httpd-test/perl-framework/t/conf/mime.types"
Include "/home/xf012502/httpd-test/perl-framework/t/conf/extra.conf"
Include "/home/xf012502/httpd-test/perl-framework/t/conf/include.conf"
Include "/home/xf012502/httpd-test/perl-framework/t/conf/proxy.conf"
Include "/home/xf012502/httpd-test/perl-framework/t/conf/ssl/proxyssl.conf"
Include "/home/xf012502/httpd-test/perl-framework/t/conf/ssl/ssl.conf"
Include "/home/xf012502/httpd-test/perl-framework/t/conf/vhost_alias.conf"


>>Of course I
>>checked it out of cvs so I might just need to check it out again.
> 
> Certainly
> 
>>the apache team has things all setup so they can just run a script and
> 
> wait
> 
>>for their results when they need to do a full test on apache?
> 
> 
> Yup.
> 
> Can I have it? (: 

Oh, you mean whether we have some magical script that makes things work for
us 
but not for you? Nothing at all ;)

well maybe not a magical script, but I'm sure you don't run it manually
every time you want to test apache. I need something that will test all the
functionality of the webserver, including ssl. 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message