I am new to CGI Scripting. I have installed Wamp Server on Windows and Installed Python at Path D:\Installation\Python33.
I have written CGI Script (test.cgi) as:
print "Content-Type: text/html"
print
print "<html><head><title>Books</title></head>"
print "<body><h1>Books</h1>These are the books</body></html>"
I kept it under C:\wamp\www\ direcotry. When I run it from browser it gives me error "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request."
I checked apache_error.log shows :
[Sun May 18 12:30:13 2014] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn't create child process: 720003: test.cgi
[Sun May 18 12:30:13 2014] [error] [client 127.0.0.1] (OS 3)The system cannot find the path specified. : couldn't spawn child process: C:/wamp/www/test.cgi
I think Python Path needs to be set here.
I found similar question here :
internal server error (500) in simple cgi script
but could not find how to set python path on windows. Please help.
Thanks in advance.