Results 1 to 16 of 16
Thread: Apache2 + CGI help request
Threaded View
-
10-29-2006, 01:14 AM #1Newbie
- Join Date
- Mar 2004
- Location
- Florida
- Posts
- 28
Apache2 + CGI help request
Hey all...
After some delays and alot of work, I've finally gotten my webserver back up and running. I've ironed out all the bugs except one. i'm trying to run a CGI script for a hit counter, but everytime I access the CGI, I get the following error:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
XXXXXXXX@XXXX.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
I'm running RH FC3, with Apache 2.5. I've verified that the module is being loaded in the server, and in the config, Ive set the following paramters:
ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
<Directory "/usr/local/apache2/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi .pl
Compiled in modules:
core.c
mod_cgi.c
(There are other modules, but I didn't think they were necessary to list)
Ok.. so if i'm reading this right, I think I've gotten everything right... What am I missing?