Randy Kobes wrote:
On Wed, 19 May 2004, Joel wrote:
[...]
waiting 120 seconds for server to start: .Syntax error on line 704 of
/usr/local/src/mod_perl-1.99_13/t/conf/httpd.conf:
Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not
included in the server configuration

So the relevant error is:

Invalid command 'SetEnv', perhaps mis-spelled or defined by a module not
included in the server configuration

[ ... ]
Do you have
     LoadModule env_module modules/mod_env.so
enabled in your system httpd.conf? If not, does it
work if you do enable it?

And this patch should fix it:

Index: t/conf/extra.conf.in
===================================================================
RCS file: /home/cvs/modperl-2.0/t/conf/extra.conf.in,v
retrieving revision 1.11
diff -u -r1.11 extra.conf.in
--- t/conf/extra.conf.in        22 Apr 2004 22:54:09 -0000      1.11
+++ t/conf/extra.conf.in        19 May 2004 18:50:52 -0000
@@ -60,8 +60,9 @@
 <IfModule mod_cgid.c>
     ScriptSock logs/cgisock
 </IfModule>
-#
-SetEnv TMPDIR @t_logs@
+<IfModule mod_env.c>
+    SetEnv TMPDIR @t_logs@
+</IfModule>
 # </sandbox-friendly>

 <Location /status/perl>

Applied to the current cvs.

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

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to