[mod_python] mod_python weirdness, maybe related to importing?

Gregory Bond gnb at itga.com.au
Mon Jun 16 10:25:38 EST 2003


>    include current directory in path
>    module = __import__(basename, globals(), locals(), [])
>    return sys.path to old layout

This might be your problem.  Inside mod_python the current directory is 
probably "/".  It's not like CGI where the current directory is the CGI dir.





More information about the Mod_python mailing list