On Wed, 28 May 2003, Josh Chamas wrote:

> Warren Young wrote:
> > I just tried moving a working Apache::ASP application to a
> > Red Hat Linux 9 system, and couldn't get the
> > Apache::ASP->Loader() statement to work. Here's what I have
> > at the end of my httpd.conf:
> > 
> > <Perl>
> >     Apache::ASP->Loader('/path/to/my/app', "asp\$",
> >         'Global' => '.',
> >         'Debug' => 0);
> > </Perl>
> > 
> > When I try to start the httpd server, it says:
> > 
> > Syntax error on line 1052 of /etc/httpd/conf/httpd.conf:
> > <Perl> directive missing closing '>'
> > 
> > Riiiigght.  Missing '>', sure....
> > ...
> > I'm using Apache::ASP 2.53 on a Red Hat 9 setup plus some newer Perl
> > modules from CPAN and some patches from Red Hat.  The OS was loaded just
> > this morning, so I don't think it's very far from "stock".
> > 
> > I imagine this is an Apache 2 or mod_perl 2 issue, but nothing I found
> > in this list's archives gives me any clues as to what's going on.
> > 
> 
> I believe the mod_perl 2 on RedHat 9 is a pretty early dev release.
> Try upgrade to the latest mod_perl 1.99_xx.  I know that decent <Perl>
> section support was only added more recently.

I think also, at this time, Perl sections have to be written as
   <Perl >
     blah
   </Perl>
in mod_perl 2 (with the explicit whitespace in the opening
<Perl >).

-- 
best regards,
randy kobes


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to