2007-08-24 10:47:12

Enabling Apache to exec python code

In the httpd.conf file, add the following line in the "AddHandler" area:

AddHandler cgi-script .py

If your index page is going to be a .py file, be sure to also include an index.py in your DirectoryIndex line, as well.

Tags:   python, web     |    Perm Link:   Enabling Apache to exec python code



James Conner