mod_python config problem
David Stanek
dstanek at dstanek.com
Fri Jun 3 16:43:14 EDT 2005
On Fri, Jun 03, 2005 at 01:16:17PM -0600, Manuel Pellecer wrote:
> i want to use mod_python with Apache2 and i made a .htaccess in the
> subdirectory where i have all my scripts:
>
> The .htacces goes like this:
>
> AddHandler mod_python .py
> PythonHandler mptest
> PythonDebug On
Try adding the following line to your .htaccess file:
PythonPath "sys.path + ['/your/path']"
Where '/your/path' is the path in which mptest.py resides.
--
David Stanek
www.roninds.net
GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833 655A 92E2 3E00 6272 EDAF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050603/cc99d9e4/attachment.sig>
More information about the Python-list
mailing list