You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Brad Cuppy <br...@lmco.com> on 1997/04/17 17:20:02 UTC

config/409: Getting an "Internal Server Error" when executing a cgi-bin script

	The contract type is `' with a response time of 3 business hours.
	A first analysis should be sent before: Thu Apr 17 11:00:01 PDT 1997


>Number:         409
>Category:       config
>Synopsis:       Getting an "Internal Server Error" when executing a cgi-bin script
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Thu Apr 17 08:20:01 1997
>Originator:     brad.cuppy@lmco.com
>Organization:
apache
>Release:        1.2b8
>Environment:
OS : SUN Solaris 2.5.1
Compiler : SUN C Compiler 3.0.3
>Description:
Config Files :

access.conf
-----------
# set options for the cgi-bin script directory

<Directory /usr/local/etc/httpd/cgi-bin>

finger.cgi
----------
!/usr/bin/ksh

echo " "
echo "Content-type: text/html"
echo " "

echo "<html>"
echo " "
echo "<head>"
echo "<title>Welcome to Budapest</title>"
echo "</head>"
echo " "
echo '<body bgcolor="000055" text="bbbbbb" link="a0a0ff" vlink="ffa0a0">'
echo " "
echo "<br>"
echo "<br>"
echo " "
/usr/bin/finger
echo " "
echo "</body>"
echo "</html>"


Options Indexes FollowSymLinks
AllowOverride All
Options FollowSymLinks Indexes ExecCGI

<Limit GET>
order allow,deny
allow from all
</Limit>

</Directory>

httpd.conf
----------
ServerType      standalone
Port            80
User            nobody
Group           www
ServerAdmin     root@budapest
ServerRoot      /usr/local/etc/httpd
ErrorLog        /usr/local/etc/httpd/logs/httpd.err
TransferLog     /usr/local/etc/httpd/logs/xfer.log
PidFile         /usr/local/etc/httpd/logs/PIDFile
ServerName      budapest

srm.conf
--------
DocumentRoot            /usr/local/etc/httpd/htdocs/
UserDir                 public_html
DirectoryIndex          index.html      index.htm
AccessFileName          .htaccess
ScriptAlias             /cgi-bin/       /usr/local/etc/httpd/cgi-bin/
>How-To-Repeat:
I did a "http://budapest/cgi-bin/finger.cgi
>Fix:
Could it be something in compiling or the conf files ? In compiling, none of the options 
got changed. It was compiled "out of the box"
>Audit-Trail:
>Unformatted: