On 10/8/03 12:11 PM, "Stas Bekman" <[EMAIL PROTECTED]> wrote:
> Chris M wrote: >> 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. > > ________________________________________ That is certainly good information, but I'm struggling to make use of it. I was reading this: http://perl.apache.org/docs/1.0/guide/config.html#PerlSetVar_and_PerlAddVar Of course they use <Perl> and </Perl> there. Apparently, you are saying 2.0 uses a different syntax? Since I'm using 1.99_09 I think we can assume that is close enough to 2.0 :) But I don't find anything on the web site about <Perl> under 2.0 Chris