You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Donny Drummonds <do...@quickturn.com> on 1998/09/18 16:43:11 UTC
config/3028: 500 internal server error when executing a cgi
>Number: 3028
>Category: config
>Synopsis: 500 internal server error when executing a cgi
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: support
>Submitter-Id: apache
>Arrival-Date: Fri Sep 18 07:50:00 PDT 1998
>Last-Modified:
>Originator: donnyd@quickturn.com
>Organization:
apache
>Release: 1.3
>Environment:
Linux Red Hat 4.2
gcc 2.7.2
Linux mgb 2.0.30 #1 Wed Jun 4 15:02:33 EDT 1997 i686 unknown
>Description:
Can not execute cgi scripts
access.conf
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /usr/local/apache/htdocs>
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
</Directory>
<Directory /usr/local/apache/cgi-bin>
AllowOverride None
Options ExecCGI Includes
</Directory>
httpd.access
ServerType standalone
Port 80
HostnameLookups off
User nobody
Group #-1
ServerAdmin donnyd@quickturn.com
ServerRoot /usr/local/apache
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log common
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_runtime_status
ServerName mgb.speedsim
UseCanonicalName on
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 30
srm.conf: alnguages and Icons stripped out
DocumentRoot /usr/local/apache/htdocs
UserDir public_html
DirectoryIndex index.html index.cgi
FancyIndexing on
DefaultIcon /icons/unknown.gif
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS
AccessFileName .htaccess
TypesConfig conf/mime.types
DefaultType text/plain
AddEncoding x-compress Z
AddEncoding x-gzip gz
LanguagePriority en fr de
Alias /icons/ /usr/local/apache/icons/
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
AddType application/x-httpd-cgi .cgi
AddHandler cgi-script .cgi .pl
AddHandler imap-file map
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
>How-To-Repeat:
http://mgb/cgi-bin/time.cgi
time.cgi
#!/usr/local/bin/bash
echo "Content-type: text/html"
echo " "
echo " "
date
>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! ]