You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by MARCOS MILOHANICH <mm...@argensoft.com.ar> on 1998/12/26 16:26:18 UTC

config/3588: my cgi script does not work properly

>Number:         3588
>Category:       config
>Synopsis:       my cgi script does not work properly
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Sat Dec 26 07:30:00 PST 1998
>Last-Modified:
>Originator:     mmilohanich@argensoft.com.ar
>Organization:
apache
>Release:        apache 1.1
>Environment:
Linux Slackware 3.3
>Description:
when i try to run a script the server send me a http 500 error.
My log file say

exec of xxxx failed, errno is 2
acces to xxx failed for xx.xxx.com.ar , reason :Premature end of script headers

My question is :

 my configurations file are bad?, my script is bad?, whats up?

my acces.conf file say:

<directory /var/lib/httpd/htdocs/cgi-bin>
options indexes followsymlinks
allowoverride all
options followsymlinks indexes execcgi
<limit GET POST PUT>
  order allow,deny
 allow from all
</limit>
</directory>

my srm.conf say :
 
Scriptalias /cgi-bin/ /var/lib/httpd/htdocs/cgi-bin/

and the httpd.conf 
 
   user nobody
   group # -1


Users should be able to: 

              run cgi script on cgi-bin directory from any servers


Thanks 

Marcos Milohanich
>How-To-Repeat:
try with this url

200.41.177.9/cgi-bin/postcard.cgi
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]