On Thursday 29 January 2004 07:43 am, Charles Kunce wrote:
On Thursday 29 January 2004 04:55, Susemail wrote:
I'm trying to get a program called sql-ledger up and running. The instructions say:
<snip>
Error message: Premature end of script headers: admin.pl
Is /srv/www/htdocs apache2's root directory? How do I correct this error? Thanks, Jerome
Make sure your perl script is executable (chmod +x). I often get this message when I forget to do that. As far as I can tell on my 8.2 Pro machine, yes /srv/www/htdocs is the default root for apache2.
Best Regards,
Charlie
The script is executable;user:wwwrun,group:www
Yeah. The location of the file should match what you say in the Include statement. Delete the config file from htdocs and change the Include to /etc/httpd/sql-ledger-httpd.conf
I will. Any more ideas on the 'Premature end of script' error messages? Thanks, Jerome