Q: Internal Server Error 500 on Apache 1.2

Q: Internal Server Error 500 on Apache 1.2

Post by Max Hornec » Thu, 08 Apr 1999 04:00:00



Hi Stefan,

Quote:> Bad header : <HTML>

try writing something like:
      "Content-type: text/html\n\n"
before any html-code.

--
Gru?,
Max Horneck
------------------------------
Dr. M. Koehler GmbH
Pharma Biometric Consulting
http://www.koehler-freiburg.de

 
 
 

1. 500 Internal server error in apache 1.3

I have just compiled and installed Apache 1.3 on my Linux redhat 4.2
box.  I can serve pages through the htdocs directory but can not get
cgi's to work

I have a time.cgi:

#!/usr/local/bin/bash

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

When I enter the URL http://mgb/cgi-bin/time.cgi i get:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.


them of the time the error occurred, and anything you might have done
that may
have caused the error.

The following are my conf files:

srm.conf: less the ADDIcons and ADDLanguages lines

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

httpd.conf:

ServerType standalone
Port 80
HostnameLookups off
User nobody
Group #-1

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

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>

Any help would be appreciated.

Donny L. Drummonds

978.251.3377 x346

2. Sudo - is it a bit risk ?

3. HTTP 500 - Internal server error. Please help !

4. pas16 driver bootdisk

5. Internal Server Error 500

6. Setting ntp

7. 500 Internal Server Error

8. Problems with Token Ring/Network!

9. Newbie Question - 500 Internal Server Error

10. 500 Internal Server Error

11. Internal Server Error : 500

12. Internal Server Error 500