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.

Regards,
Kevin

On Friday, October 4, 2013 8:48:52 PM UTC+1, drx wrote:
>
> Hello, 
>
> I am running a few webpy projects with Apache and mod_fcgid. I am using 
> the 
> fastcgi setup rececpies from the webpy cookbook and can see that the 
> number of 
> instances I configured is running, they are responding quickly, no 
> problems so far. 
>
> In the directory with the python code, there is a .htaccess file that 
> handles 
> URL rewriting and also sets an environment variable with Apache's "SetEnv" 
> directive. 
>
> In my webpy script, the environment variable is not visible in os.environ. 
> How 
> can I get it? 
>
> Bests, 
> 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.

Reply via email to