httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: ~user/cgi_bin script config problem - approx 20k attached
Date Sat, 02 Feb 2002 00:46:42 GMT

> From: mark rostron []

> httpd -v output:
> Server version: Apache/1.3.19 (Unix)  (SuSE/Linux)
> Server built:   May 14 2001 15:46:52
> I am attempting to configure apache 1.3.19 (suse 7.2
> distribution) to enable
> user cgi-bin scripting by enabling ExecCGI for directory
> /home/username/public_html/cgi-bin
> But with no luck.
> Attached are compressed versions of httpd.conf, together with the
> inclusion
> for public_html/cgi-bin execution.

Luckily you failed to attach them.  Please don't send big attachments unless
it is really necessary.

> I have tested the script by putting into the ScriptAlias directory
> for /cgi-bin/ and the script worked fine.
> the error message in error_log is:
> [Fri Feb  1 16:32:08 2002] [error] [client] Premature
> end of script
> headers: /home/mrostron/public_html/cgi-bin/test.cgi

This means there is something wrong with the cgi script:

One thing to check is to look for an suexec log file if you are using suexec
(httpd -l will tell you).

Beyond that, you basically just have a broken cgi script.  Try running it
from the command prompt.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message