> According to the Apache docs (http://httpd.apache.org/docs/2.2/env.html), > Apache environment variables "are not the same as the environment variables > controlled by the underlying operating system". Hence they would not be > accessible in os.environ. > > What are you trying to do?
Thanks for the hint towards the Apache docs. I am trying to differentiate between testing and production environments. So if the code.py is in a certain directory with the SetEnv directive, there will be used another database, not debug output etc. As Kevin pointed out: Am 08.10.2013 18:48, schrieb Kevin Houlihan: > Try looking in web.ctx.environ instead. I believe that is where they are > accessible if you are using WSGI, maybe that is also the case with FCGI. Thanks, I will this out! After all, the fcgi interface is wrapped around wsgi. Best greetings, Dragan -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
