3.1.1 Apache

Apache is the reference web server for the Web Modules and it is available for many platforms including Windows.

Apache can be configured to support Python. You may need to edit you httpd.conf file adding something similar to addhandler py /usr/bin/python. /usr/bin/python should be relpaced with the correct path to the Python interpreter on your system. This can usually be found by typing the following at a command prompt:

> whereis python

Alternatively you could start python and type the following to obtain the sys.prefix. This is often the directory in which the python interpreter is.

>>> import sys
>>> print sys.prefix
/usr/local/bin/python

You should consult the Apache documentation at http://httpd.apache.org for full information.