Re: Apache / Mod_Python / RHEL5 issue with PYTHONPATH in Apache environment

2008-01-14 Thread scott_in_springfield
Thank you, Graham. > In the same directory as the Apache executable, 'httpd', 'apache2' or > whatever your platform calls it, there should be an 'envvars' file. I didn't find this file anywhere. Found no 'envvars' on the entire system. Google research showed that apachectl loads envvars in an Ap

Re: Apache / Mod_Python / RHEL5 issue with PYTHONPATH in Apache environment

2008-01-14 Thread scott_in_springfield
To shorten things, using mod_python.testhandler for some output with the following apache directives: SetHandler python-program PythonPath "['/Working/django','/Working/modules','/Working/ projects','/Working/projects/mysite'] + sys.path" SetEnv DJANGO_SETTINGS_MODUL