My system is a windows 7 laptop running apache2.2
After I installed apache I attempted to visit the "index.html" page to
verify that apache was working properly. That worked fine. Next IU
edited the httpd.conf file so that I could specify my own choices for
the "htdocs" and "cgi-bin" directories. I rebooted my system and once
again I was able to view the index.html page. However I am unable to
run any cgi scripts. When I attemp to run
http://localhost:80/cgi-bin/colors.cgi the following error is
displayed in my browser window.
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator,
xx...@comcast.net and
inform them of the time the error occurred, and anything you might
have done that may have caused the error.
More information about this error may be available in the server error
log.
The error log file contained the following error message :
[error] [client 127.0.0.1] (OS 2)The system cannot find the file
specified. : couldn't spawn child process:
C:/apachedata/cgi-bin/colors.cgi
I ran many google searches and based on the suggestion from one of
them I changed the "/" to "\" for the definition of the "htdocs" and
"cgi-bin" directories.
I also changed the "Options" line for "cgi-bin" to "+ExecCGI". That
did not resolve the error.
Any ideas as to what the problem might be ?