Problems with 2.0 cgi scripts

Aahz Maruch aahz at panix.com
Mon Mar 19 09:57:37 EST 2001


In article <fs9bbtg68qne71t853lp89l44uarbb5jk5 at 4ax.com>,
Sheila King  <sheila at spamcop.net> wrote:
>
>So, basically, it cannot find the modules when I run it as a cgi-script. I
>have all the paths set correctly, and the permissions set correctly. Grr, I'm
>frustrated with this one by now...

You can't set the path because you don't own the web server.  Simplest
solution is to set sys.path yourself as the first line of the script.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

There's a difference between a person who gets shit zie doesn't deserve
and a person who gets more shit than zie deserves.  --Aahz



More information about the Python-list mailing list