1 # ! D:\Python27\23print'content-type:text/plain'4 Print56print'Hello,world'
AppearErrorThe server encountered an internal error or misconfiguration and is unable to complete your request. Please contact the server and inform them of the time the error occurred, and Anyt Hing you might has done so may has caused the error. More information on this error is available in the server error log. Viewing error log Discovery for Appache
[Mon 11 14:51:18 2014] [ERROR] [Client 127.0.0.1] File does not exist:c:/program Files (x86)/apache software Foundation/apache2.2/htdocs/favicon.ico
[Mon 11 14:53:11 2014] [ERROR] [Client 127.0.0.1] (OS 2) The system cannot find the file specified. : Couldn ' t create child process:720002:listing15-4.py
[Mon 11 14:53:11 2014] [ERROR] [Client 127.0.0.1] (OS 2) The system cannot find the file specified. : couldn ' t spawn child Process:c:/program Files (x86)/apache software foundation/apache2.2/cgi-bin/listing15-4.py
Just like that! The first Error:favicon.ico file did not find Google after not know this is a display in the address bar leftmost picture, personally think there should not be much problem, but still online did a, online do Favicon.ico website is quite many, fool-type operation.
The second error:couldn ' t create child process. This is the main mistake, and it also leads to the following couldn ' t spawn child process. Internet search, said the reason may not find the interpreter.
So at the beginning
1 #! D:\Python27\ 2 3 print " content-type:text/plain " 4 5 6 print hello, World
1 #! D:\Python27\python.exe 2 3 print " content-type:text/plain " 4 5 6 print hello, World