0

... and if so, is it a Windows config that needs to be fixe or something else? This may even be the wrong forum for this question, and if so, my apologies and please a hint on what the correct forum is.

Here's my problem.

When I put this into a browser window, I get 500 Internal Service Error: http://localhost/cgi-bin/cgi101/ch04/index.html and a screen that says

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost 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.

And a server error log that says:
[Wed Jul 12 18:06:50 2006] [error] [client 127.0.0.1] C:/Apache2/cgi-bin/cgi101/ch04/index.html is not executable; ensure interpreted scripts have "#!" first line
[Wed Jul 12 18:06:50 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Apache2/cgi-bin/cgi101/ch04/index.html

But when I put it into an Explorer window with it's absolute path
C:\\Apache2\cgi-bin\cgi101\ch04\index.html it works.


Thank you.

Pat B.

2
Contributors
1
Reply
2
Views
11 Years
Discussion Span
Last Post by knsljo
0

"is not executable; ensure interpreted scripts have "#!" first line"

Sounds like you need to change the script!:-|

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.