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
pgpqT33AXn9gS.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list