unknown directive "env"

Ziyad Saeed myschizobuddy at gmail.com
Fri Sep 18 13:39:51 MSD 2009


Thankyou
fastcgi_param  FLOW3_WEBPATH    C:/nginx/html/flow3/Web/;

2009/9/17 Igor Sysoev <is at rambler-co.ru>

> On Thu, Sep 17, 2009 at 03:02:21AM +0500, Ziyad Saeed wrote:
>
> > The php framework flow3 by typo3 uses environment variables for certain
> > things. It looks them up in the _SERVER global variables list.
>
> If you use FastCGI, then something like this:
>
>   fastcgi_param  _SERVER  $domain;
>
> > 2009/9/16 Igor Sysoev <is at rambler-co.ru>
> >
> > > On Tue, Sep 15, 2009 at 09:24:55PM +0500, Ziyad Saeed wrote:
> > >
> > > > ur correct i tried it and it doesn't do what i thought it did.
> > > > I'm trying to the same thing as before. assign an environment
> variable.
> > > > reading the Map directive documentation. It doesn't do that either.
> > >
> > > Where do you want to use the variable ?
> > >
> > > > 2009/9/15 Igor Sysoev <is at rambler-co.ru>
> > > >
> > > > > On Tue, Sep 15, 2009 at 08:55:59PM +0500, Ziyad Saeed wrote:
> > > > >
> > > > > > Where does the env directive go.
> > > > > > I'm using it under the Server scope
> > > > >
> > > > > This global (not even 'http' directive):
> > > > >
> > > > > env ...
> > > > >
> > > > > http {
> > > > >   ...
> > > > >
> > > > > However, this is not what you need. nginx does not use enviroment
> > > > > variables. Where do you want to use the variable ?
> > >
> > >
> > > --
> > > Igor Sysoev
> > > http://sysoev.ru/en/
> > >
> > >
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090918/965a0d8a/attachment.html>


More information about the nginx mailing list