Welcome! Log In Create A New Profile

Advanced

Re: GEOIP context problem

August 31, 2010 10:43PM
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;
}
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: 281
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