0

I'm new to python and have setup wamp server and installed python 3.6 in location C:\Program Files\Python36

httpd.conf file

AddHandler cgi-script .cgi .py

<Directory "${SRVROOT}/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

Options +Indexes +FollowSymLinks +Multiviews +ExecCGI

when running this script

index.py

print("hello world")

http://localhost/index.py

getting this error :

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at wampserver@wampserver.invalid to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log. Any solution, Thanks

user3653474
  • 3,393
  • 6
  • 49
  • 135

0 Answers0