The php framework flow3 by typo3 uses environment variables for certain things. It looks them up in the _SERVER global variables list.<br><br><div class="gmail_quote">2009/9/16 Igor Sysoev <span dir="ltr"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, Sep 15, 2009 at 09:24:55PM +0500, Ziyad Saeed wrote:<br>
<br>
> ur correct i tried it and it doesn't do what i thought it did.<br>
> I'm trying to the same thing as before. assign an environment variable.<br>
> reading the Map directive documentation. It doesn't do that either.<br>
<br>
</div><div><div></div><div class="h5">Where do you want to use the variable ?<br>
<br>
> 2009/9/15 Igor Sysoev <<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>><br>
><br>
> > On Tue, Sep 15, 2009 at 08:55:59PM +0500, Ziyad Saeed wrote:<br>
> ><br>
> > > Where does the env directive go.<br>
> > > I'm using it under the Server scope<br>
> ><br>
> > This global (not even 'http' directive):<br>
> ><br>
> > env ...<br>
> ><br>
> > http {<br>
> > ...<br>
> ><br>
> > However, this is not what you need. nginx does not use enviroment<br>
> > variables. Where do you want to use the variable ?<br>
<br>
<br>
--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</div></div></blockquote></div><br>