Chris M wrote:

So does it work ok now?


No it doesn't work.  And I'm probably no further along to understanding why
since the docs are horked :)

Here is what I get:

Starting httpd: Syntax error on line 1112 of /etc/httpd/conf/httpd.conf:
Perl not allowed here

Here's the config:

PerlModule Apache::ASP
<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>


Line 1112 is the line with </Perl>

<Perl> sections are not allowed to be used outside the resource containers in mp2, not sure why. You could take it out, or probably the cleanest way for this particular case is to write PerlInitHandler which will do that job.



__________________________________________________________________ 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



Reply via email to