[Wed Jul 02 10:10:00 2003] [error] 19513: ModPerl::RegistryBB: 20014:Error string not specified yet at /var/www/perl/test.pl line 6.
If I switch to running the script under mod_cgi or if I remove the "$|=1;" line, I do not get an error.
Here is my script:
#!/usr/bin/perl $|=1; print "Content-Type: text/html\n\n"; print "hello world<P>"; # This line causes the error print "";
httpd.conf snipit:
Alias /perl/ /var/www/perl/ <Location /perl> AddOutputFilterByType DEFLATE text/* SetOutputFilter DEFLATE AllowOverride None SetHandler perl-script PerlHandler ModPerl::RegistryBB PerlSendHeader On Options +ExecCGI </Location>
I've worked-around this problem by changing my print "" to print " ". It's not a major issue for me, I'm just letting you know. Let me know if you need any more info.
-bill