Hi It looks like when I @Include a file from a <Perl> section, the <Perl> sections in that file get processed first, though there are other stuff before the <Perl> sections. Following is an example (simplified from my real-life config) :
$ cat /tmp/test.conf <Perl > @Include = "/tmp/testvar.conf"; </Perl> Listen 43499 $ cat /tmp/testvar.conf PerlPassEnv MY_TEST_VAR <Perl > print "MY_TEST_VAR = $ENV{MY_TEST_VAR}\n"; </Perl> $ httpd -X -f /tmp/test.conf [Sun Jul 06 06:15:09 2003] [warn] Syntax error at /tmp/testvar.conf:5 Use of uninitialized value in concatenation (.) or string at (eval 3) line 1. So when an Include is found, all perlsections in that file are processed. However, as in the above case, these <Perl> sections could be depending on the directives defined previously in the file. It works if I move the PerlPassEnv to test.conf, above the <Perl> section. Any thoughts ? thx Sreeji (this is 1.99_10-dev on Linux, with httpd-2.0.45) ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]