On 10/8/03 10:14 AM, "Stas Bekman" <[EMAIL PROTECTED]> wrote:
Chris M wrote:
I am trying to get a new configuration going. When I start 2.0.47 I get:
# /etc/rc.d/init.d/httpd start
Starting httpd: Syntax error on line 1110 of /etc/httpd/conf/httpd.conf: <Perl> directive missing closing '>' [FAILED]
It should be <Perl > in mp2. ^ space
http://perl.apache.org/docs/2.0/api/Apache/PerlSections.html
_______________________________________________________
Thanks that gets rid of that issue. Now I get this:
# /etc/rc.d/init.d/httpd start
Starting httpd: Syntax error on line 1105 of /etc/httpd/conf/httpd.conf: /etc/httpd/conf/httpd.conf:1105: <Directory> was not closed.
Line 1105 is the <Directory> tag at the top:
<Directory /usr/local/apache/htdocs/freeside-asp> <Files ~ (\.cgi)> AddHandler perl-script .cgi PerlHandler Apache::ASP </Files> <Perl > $MLDBM::RemoveTaint = 1; </Perl > PerlSetVar Global /usr/local/etc/freeside/asp-global/ PerlSetVar Debug 2 </Directory>
Any ideas on that one? The syntax looks OK to me.
The opening is <Perl >, but the clsoing is </Perl>. It wan't the space in the opening tag, because in httpd-2.0 the parser requires an argument in all containers (with a leading space), so opening <Foo> is invalid, but it's always </Foo> in closing.
__________________________________________________________________ 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