perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Apache::Test too late for PerlSwitches
Date Mon, 11 Jul 2005 13:30:33 GMT
Geoffrey Young wrote:
>>waiting 60 seconds for server to start: .Syntax error on line 111 of
>>/var/home/thomas/projects/********/t/conf/httpd.conf:
>>mod_perl is already running, too late for PerlSwitches
> 
> 
>>Line 110 ff reads
>>
>><IfModule mod_perl.c>
>>    PerlSwitches -Mlib=/var/home/thomas/projects/********/t
>></IfModule>
>>
>>and seems to be automatically generated.
> 
> 
> yes, all of httpd.conf if automatically generated.
> 
> you need to look for mod_perl directives before that line in httpd.conf and
> see which one is launching the interpreter.  you also might want to try an
> Apache-Test-related module from CPAN to compare to your setup and see if you
> have any similar problems.  here's one of mine that ought to serve as an example
> 
>   http://search.cpan.org/dist/Apache-SSLLookup/

Also you probably need to put your custom configuration into 
t/conf/extra.last.conf.in and not t/conf/extra.conf.in

-- 
__________________________________________________________________
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