Nic Ferrier
nferrier at tapsellferrier.co.uk
Wed Oct 27 17:33:10 EDT 2004
Tobiah <toby at rcsreg.com> writes: > I put: > > SetEnv PYTHONPATH /usr/local/lib/python > > Into my httpd.conf, but when I restart apache and do: > > def index(req): > > out = '' > for thing in os.environ: > out += thing + " => " + os.environ[thing] + "\n" > return out > > > I see my environment, but not the ones that I put in with SetEnv. > Am I missing something? I think it's documented that env's don't work for mod_python. You can use: http://www.modpython.org/live/mod_python-2.7.8/doc-html/dir-other-po.html -- Nic Ferrier http://www.tapsellferrier.co.uk
|