I am trying to interact html with python. I know that php comes by default. Need similar setup done for accessing index.py
#!/usr/local/bin/pythonprint "Content-type: text/html"import cgiprintprint '''<html><head><title>My first Python CGI app</title></head><body><p>Hello, 'world'!</p></body></html>'''
Error: I get 403 forbidden error.
You don't have permission to access / on this server.Server unable to read htaccess file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Options +ExecCGIAddHandler cgi-script .py
Still getting same error. Need assistance to this up.