Hi
I am a mod_perl newbie so apologies if I am missing something obvious here.
I am converted some perl scripts and packages into mod-perl using apache 2.049 and mod_perl 1.99 running on Linux RedHat 9.
Generally, as the scripts were well written few errors were reported and these have been dealt with. None of the logs files: - the virtual host log, apache general error log or /tmp.db.out (using the Apache::DB in startup.pl) report any errors. However I get this strange error on the termination of every single html page returned by my scripts.
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
So the server is returning a 200 OK message but then returns an error? Ive looked on online resources but cannot see this exact error being reported elsewhere.
None of the scripts have exit() statements which would seem an obvious source for problems on exiting a script.
I reproduce my apache directives as below:
PerlSetEnv PERLDB_OPTS "NonStop=1 LineInfo=/tmp/db.out AutoTrace=1 frame=2"
PerlRequire /usr/local/apache2/conf/startup.pl
PerlModule Apache::DB
PerlModule Apache::StatINC
#PerlInitHandler Apache::StatINC
<Location /perl>
PerlFixupHandler Apache::DB
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
#comment this out in production
#PerlSetVar StatINCDebug On
</Location>
many thanks for any help you can give.
Andrew Cadman