403 error for python webpage

D

Daniel

I created a page with a ".py" extension but the browser does not like
it.
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:
http://deron.meranda.us/python/webserving/helloworld.html
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top