Tulan W. Hu wrote:
I think I need to fix the syntax error in the httpd.conf first. however, I cannot just modify the httpd.conf file under t/conf since it will be overwrite when I run make test.
Run t/TEST instead of 'make test', in which case t/conf/httpd.conf is *not* overwritten. You can do t/TEST -start / t/TEST -stop. But see below (it's the best to just start httpd manually in this case)
=========================================== The line 960 of httpd.conf file:
....cut... AuthType Basic AuthName "Access" Require user goo bar #####this is the line 960 Require group bar tar <Limit POST> Require valid-user </Limit> ....cut....
=================================================
$ truss ../httpd -d t -f conf/httpd.conf -DAPACHE2 -DONE_PROCESS -DNO_DETATCH
output:
....cut....
Syntax error on line 960 of t/conf/httpd.conf:
write(2, " S y n t a x e r r o r".., 47) = 47
require takes 1-2 arguments, write(2, " r e q u i r e t a k e".., 30) = 30
llseek(0, 0, SEEK_CUR) = 184313
_exit(1)
Hmm, Require is a core directive, so it should be there. I don't quite understand why you don't see this error in the normal STDERR output. what happens when you run the above w/o truss?
can you start apache w/o mod_perl (i.e. with a default httpd.conf)? if yes, copy the "Require" parts of section around line 960 into the default httpd.conf and try again. does it still work?
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com