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....

Plainly it's confused, but why?  If I comment the contents of the <Perl>
block out, leaving just the tags, I get the same message.  If I comment
the entire block out, the app works flawlessly, but of course now I'm
not getting the benefits of global precompiling.  This block works just
fine on our "stock plus patches" Red Hat 7.2 and 7.3 systems.

For what it's worth, this <Perl> block is at the end of the file, just
after the <Files> block setting up ASP handling in my app's directory,
which follows the "PerlModule Apache::ASP" directive, which is outside
the Files block, which newer Apaches seem to want.

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.


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



Reply via email to