Re: Apache Environment Variables

2009-12-17 Thread Dashdrum
Thanks to both responders for the explanations. Dan -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@goog

Apache Environment Variables

2009-12-16 Thread Dashdrum
I'm using mod_wsgi to host my Django site, and all is working well, except... I'd like to access an environment variable set in the Apache configuration like so: SetEnv TIER dev The os.environ.get() function seems appropriate for this, but no luck. Using this code: PATH = os.environ.g