[SLE] Premature end of script headers
Susemail <[email protected]> Wed, 28 Jan 2004 23:55:28 -1000
| Newsgroups | gmane.linux.suse.general,gmane.comp.web.sql-ledger.user |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to get a program called sql-ledger up and running.
The instructions say:
create a file sql-ledger-httpd.conf in the same location
where your httpd.conf is and copy the next section into the file:
Alias /sql-ledger/ /usr/local/sql-ledger/
<Directory /usr/local/sql-ledger>
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
</Directory>
<Directory /usr/local/sql-ledger/users>
Order Deny,Allow
Deny from All
</Directory>
I did this.
edit httpd.conf and add:
# SQL-Ledger
Include <ServerRoot>/sql-ledger-httpd.conf
Note: Replace <ServerRoot> with the server's root directory!
restart your web server.
I did this using /srv/www/htdocs/sql-ledger-httpd.conf.
This produced errors, I could not connect to local host and there was an error
in restarting apache2.
So I put a copy of sql-ledger-httpd.conf in htdocs. Now I can connect to
localhost and restart without error.
The instructions above say:
create a file sql-ledger-httpd.conf in the same location
where your httpd.conf is; but this didn't work. Only after I put the file in
htdocs could I connect to localhost.
Even though http://localhost/index.html.en works now,
http://localhost/sql-ledger/admin.pl gives this error:
Server error!
The server encountered an internal error and was unable to complete your
request.
Error message:
Premature end of script headers: admin.pl
If you think this is a server error, please contact the webmaster.
Error 500
localhost
Wed Jan 28 23:51:43 2004
Apache/2.0.48 (Linux/SuSE)
Is /srv/www/htdocs apache2's root directory?
How do I correct this error?
Thanks,
Jerome
--
Check the headers for your unsubscription address
For additional commands send e-mail to [email protected]
Also check the archives at http://lists.suse.com
Please read the FAQs: [email protected]