[mod_python] Trying to use httpd.conf to modify environment for publisher handler

Tobiah toby at rcsreg.com
Wed Oct 27 09:57:36 EDT 2004

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?



More information about the Mod_python mailing list