Importing custome modules from command line works but fails in a CGI under Apache

Adrian Eyre a.eyre at
Wed Mar 15 17:30:33 CET 2000

> On the interactive environment when I do a
> import maxvu.message
> it works but when I try this under a cgi script, it fails with an
> ImportError.

The usual problem with cgi Python scripts is that the uid used when
running the script does not have permission to access certain files
which 'your' uid does.

Check the permissions of the /usr/local/lib/python1.5/maxvu dir, and
any files inside it.

More information about the Python-list mailing list