run python scripts on apache (linux and windows)
问题 I need help with how to run scripts test.cgi for example in apache ? I created test script: #!/usr/bin/env python # -*- coding: UTF-8 -*- # enable debugging import cgitb cgitb.enable() print "Content-Type: text/plain;charset=utf-8" print print "Hello World! When I run localhost/cgi-bin/test.cgi It gives me error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster