403 error for python webpage
danwgrace at gmail.com
Sun Jun 7 15:21:46 EDT 2009
I created a page with a ".py" extension but the browser does not like
Here is what I did: I edited httpd.conf file and added the line:
AddHandler cgi-script .cgi .py
Then I stopped and restarted apache. Next I created a hello world file
as on this page:
I stored the file in htdocs and then went to the corresponding
http://127.0.0.1/python/testhw.py in my browser. But the browser gives
a 403 error.
I am running from internet explorer on windows xp.
More information about the Python-list