Welcome! Log In Create A New Profile

Advanced

Re: GEOIP context problem

Sergey A. Osokin
September 01, 2010 02:06AM
Hi, syle.

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

--
Sergey A. Osokin
osa@FreeBSD.ORG
osa@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

GEOIP context problem

syle August 31, 2010 12:18AM

Re: GEOIP context problem

Sergey A. Osokin August 31, 2010 03:42AM

Re: GEOIP context problem

Maxim Dounin August 31, 2010 05:42AM

Re: GEOIP context problem

syle August 31, 2010 10:58AM

Re: GEOIP context problem

syle August 31, 2010 11:38AM

Re: GEOIP context problem

Maxim Dounin August 31, 2010 11:46AM

Re: GEOIP context problem

Maxim Dounin August 31, 2010 11:56AM

Re: GEOIP context problem

syle August 31, 2010 10:25PM

Re: GEOIP context problem

syle August 31, 2010 10:43PM

Re: GEOIP context problem

adamchal October 21, 2010 05:50PM

Re: GEOIP context problem

Sergey A. Osokin September 01, 2010 02:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready