Here is what I have/did
Installed: Apache 1.3.29/mod_ssl 2.8.16-1.3.29/PHP 4.3.4 Installed: v5.8.2 built for i686-linux
I'm trying to install mod_perl 1.29 and I've followed several tutorials, many of which compile apache with mod_perl and seem to mess up my httpd configuration. So, what I'm trying to do is to get mod_perl working but without having to recompile Apache. Perhaps I already have it installed since this is in my httpd.conf file
LoadModule perl_module libexec/libperl.so ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" <Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
and libperl.so is indeed in the libexec dir.
Anyway, perl seems to be working because I tried ./openwebmail-tool.pl and it works, and if I do a perl -V I get information.
So, I tried this:
I created a file, index.pl, inside of /var/www/cgi-bin and all it has is
#!/usr/bin/perl print "does this work\n";
via command line
$perl index.pl does this work
but via the web, I get an Internal Server Error and in the error_log
Premature end of script headers: /var/www/cgi-bin/index.pl
????
I'm very perplexed....
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html