[mod_python] import error help

Morgan Smith morgan.covaluate at gmail.com
Thu Sep 20 19:23:57 EDT 2007


Greetings,

 I am trying to setup mod_python to use tilecache. The hello world works
with the apache config directive

<Directory /opt/apache/current/htdocs/ptest>
        AddHandler python-program .py
        PythonHandler  mptest
 </Directory>


 My problem is that specifiying a subdirectory and Module name results in a
module not found.

 ie specifying  :    PythonHandler  Subdir.mptest  with the mptest.py but
into a sibdirectory Subdir.

would not work.  Is there a trick to getting the module paths to resolve
properly?


Any help appreciated

-Morgan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070920/0d85b7b2/attachment.html


More information about the Mod_python mailing list