GEOIP context problem

Sergey A. Osokin osa at FreeBSD.ORG.ru
Wed Sep 1 10:02:37 MSD 2010


Hi, syle.

Did you test my changes for www/nginx-devel port?
Does everything works fine for you?

--
Sergey A. Osokin
osa at FreeBSD.ORG
osa at FreeBSD.ORG.ru

On Tue, Aug 31, 2010 at 10:43:38PM -0400, syle wrote:
> Sergey:
> 
> I will just do following for now, so maybe overwriting fastcgi_params
> might not be such a bad thing on freebsd since we will always get
> a new copy of anything that changes automatically, i've just thrown the
> geoip values in another include as follows:
> 
>     location ~ \.php$ {
>         #fastcgi_pass   127.0.0.1:9000;
>         fastcgi_pass  unix:/tmp/cgi2.sock;
>         fastcgi_index  index.php;
>         fastcgi_param  SCRIPT_FILENAME
> $document_root$fastcgi_script_name;
>         include        fastcgi_params;
>         include        fastcgi_params_geoip;
>     }
>     location ~ \.pl$ {
>         fastcgi_pass  unix:/tmp/cgi.sock;
>         fastcgi_param  SCRIPT_FILENAME
> $document_root$fastcgi_script_name;
>         include        fastcgi_params;
>         include        fastcgi_params_geoip;
>     }
> 
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,125449,125883#msg-125883
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

-- 
Sergey A. Osokin,
osa at FreeBSD.ORG.ru
osa at FreeBSD.ORG



More information about the nginx mailing list