I'm sure that it must be a configuration problem, but I keep getting an
internal error when using a Perl script on my server.
I recently (re)installed Redhat 9 after a recent crash, and then
installed Apache 2.0.49 and the latest mod_perl from source. When I run
this test page:
http://www.comparity.net/per/time.pl
I get the correct output (the current date & time), together with the
following:
OK
The server encountered an internal error or misconfiguration
and was unable to complete your request.
with the message to please contact me to do something about it.
I had this problem before the crash, and managed to fix it, but cannot
work out how ...
My httpd.conf has the following:
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
...
Alias /perl /data/www/perl
<Directory /data/www/perl>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Allow from all
</Directory>
Any ideas?
Thanks,
Mark<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Apache 2 & Perl