Re: why will nginx's map directive eat all ram?

2013-08-03 Thread Valentin V. Bartenev
On Saturday 03 August 2013 13:57:52 Payne Chu wrote: > Finally I can reproduce even in the Homebrew version. It will only leak > when I use relative path. and all version also can reproduce. b4 I test > Homebrew version with full path not relative path that's the > differentXD~ > > map $pid $p

Re: Hide raw regular expression from $_SERVER['server_name']

2013-08-03 Thread justin
J, The "HOST" http-header is correct, I am just wondering if I can modify or prevent the raw regular expression being exposed in $_SERVER['server_nam']. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241519,241522#msg-241522 ___ nginx mailin

Re: Hide raw regular expression from $_SERVER['server_name']

2013-08-03 Thread Jonathan Matthews
On 3 Aug 2013 23:07, "justin" wrote: > > I am using a regular expression in a server_name: > > server_name ~^(?!web2\.)(?.+)\.mydomain\.com$; > > In PHP, or any language for that matter, if I: > > echo $_SERVER['server_name']; > //~^(?!web2\.)(?.+)\.mydomain\.com$ > > I ge

Hide raw regular expression from $_SERVER['server_name']

2013-08-03 Thread justin
I am using a regular expression in a server_name: server_name ~^(?!web2\.)(?.+)\.mydomain\.com$; In PHP, or any language for that matter, if I: echo $_SERVER['server_name']; //~^(?!web2\.)(?.+)\.mydomain\.com$ I get the raw regular expression back. Is it possible to mas

Re: PHP Fatal error

2013-08-03 Thread pablo.rodriguez
Sorry, my nginx.conf: http://pastebin.com/5VB1BzHj Best. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241517,241518#msg-241518 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

PHP Fatal error

2013-08-03 Thread pablo.rodriguez
Hello! I'm having, in a PHP form, when I'm submiting one email, the next error in error.log: 2013/08/03 21:39:22 [error] 19544#0: *11 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(TEMPLATEPATH/functions/theme-functions.php): failed to open stream: No such file or directory in /

Re: nginx-1.5.3

2013-08-03 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.5.3 for Windows http://goo.gl/qiz6kq (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also availab

Re: error building nginx 1.5.3 on Cygwin

2013-08-03 Thread Kevin Worthington
Hi Maxim, Thanks so much. Your patch worked great. The build was failing without that change. Is there any way that patch can be incorporated into the main source, so that it doesn't happen again in 1.5.4? Thanks again, I really appreciate it. Best regards, Kevin -- Kevin Worthington http://ke

Re: error building nginx 1.5.3 on Cygwin

2013-08-03 Thread Maxim Dounin
Hello! On Fri, Aug 02, 2013 at 09:17:03PM -0400, Kevin Worthington wrote: > I'm trying to build nginx 1.5.3 on Cygwin using Windows 7. I see the > following output during "make": [...] > cc1: warnings being treated as errors > src/core/ngx_inet.c: In function `ngx_sock_ntop': > src/core/ngx_ine

Re: why will nginx's map directive eat all ram?

2013-08-03 Thread Valentin V. Bartenev
On Saturday 03 August 2013 14:08:50 Valentin V. Bartenev wrote: [...] > > and in config I not even active any lua directive yet. so I thought > > this should the nginx probelm. But when I install nginx-1.4.1 through > > `Homebrew`. I cannot find same issue in the brew version. Maybe just one > > of

Re: why will nginx's map directive eat all ram?

2013-08-03 Thread Valentin V. Bartenev
On Saturday 03 August 2013 06:08:43 Payne Chu wrote: > here it is > > nginx version: ngx_openresty/1.4.1.1 > TLS SNI support enabled > configure arguments: --prefix=/usr/local/openresty/nginx > --with-cc-opt='-I/usr/local/Cellar/pcre/8.33/include > -I/usr/local/Cellar/luajit/2.02/luajit2.0/include

Re: why will nginx's map directive eat all ram?

2013-08-03 Thread Payne Chu
Finally I can reproduce even in the Homebrew version. It will only leak when I use relative path. and all version also can reproduce. b4 I test Homebrew version with full path not relative path that's the differentXD~ map $pid $public_root { default public; } <-- this one relative path lea

Re: why will nginx's map directive eat all ram?

2013-08-03 Thread Payne Chu
https://groups.google.com/forum/#!topic/openresty-en/ArNhoL7Ol2U here is the reply from OpenResty's agentzh. seems the leak come from nginx 1.4.1's core. Maybe Homebrew have some patch fixed this issue ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241478,241502#msg-241502