mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
16 lines
661 B
Plaintext
16 lines
661 B
Plaintext
|
================================================================================
|
||
|
|
||
|
Also remember to add to your Apache configuration in the appropriate context:
|
||
|
|
||
|
PythonPath "['/path/to/foo', '/path/to/bar']"
|
||
|
AddHandler python-program .py
|
||
|
PythonHandler foobar
|
||
|
PythonDebug On
|
||
|
|
||
|
Where PythonPath includes the paths to at least the Python libdir, its
|
||
|
site-packages dir, and to the dir where your Python programs are. Also consider
|
||
|
including the dir to mod_python if your Python distribution is installed in a
|
||
|
non-standard location. For more information, see http://www.modpython.org/.
|
||
|
|
||
|
================================================================================
|