Re: can i change time format in access log?

2013-03-25 Thread Ruslan Ermilov
On Tue, Mar 26, 2013 at 02:22:39AM -0400, appchemist wrote: > I have one more question about access log. > there is a +0900 in 21/Mar/2013:18:47:32 +0900, 2013-03-26T10:27:40+09:00 > > what does +0900 mean? It's the the as "+09:00" to the right. :) http://en.wikipedia.org/wiki/ISO_8601#Time_off

Re: can i change time format in access log?

2013-03-25 Thread appchemist
I have one more question about access log. there is a +0900 in 21/Mar/2013:18:47:32 +0900, 2013-03-26T10:27:40+09:00 what does +0900 mean? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237780,237787#msg-237787 ___ nginx mailing list nginx@n

Re: can i change time format in access log?

2013-03-25 Thread appchemist
Thank you very much! :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237780,237786#msg-237786 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: can i change time format in access log?

2013-03-25 Thread Ruslan Ermilov
On Mon, Mar 25, 2013 at 10:29:22PM -0400, appchemist wrote: > I want to customize time format in access log, because of calculating time. > There are two kind of time format in log_format. > one is $time_local. (21/Mar/2013:18:47:32 +0900) > another one is $time_iso8601. (2013-03-26T10:27:40+09:00)

can i change time format in access log?

2013-03-25 Thread appchemist
Hi, EveryBody! I am really happy with nginx from now. but I have one question. I want to customize time format in access log, because of calculating time. There are two kind of time format in log_format. one is $time_local. (21/Mar/2013:18:47:32 +0900) another one is $time_iso8601. (2013-03-26T10

Re: [ANN] ngx_openresty devel version 1.2.7.3 released

2013-03-25 Thread honwel
good news ! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237732,237779#msg-237779 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx: worker process: malloc(): memory corruption: 0x0000000000b6bdb0 ***

2013-03-25 Thread honwel
i use valgrind to check memory leak, and have detected some error: ==2243== Invalid write of size 1 ==2243==at 0x4A08088: memcpy (mc_replace_strmem.c:628) ==2243==by 0x4448C9: ngx_http_proxy_subs_headers (ngx_http_proxy_subs_filter.c:149) ==2243==by 0x45B2FB: ngx_http_proxy_create_requ

Re: uWSGI + Moin (subdir) + Nginx

2013-03-25 Thread Miguel Clara
Thanks for the hint... I though passing SCRIPT_NAME was a "ugly" way to do into, but since it was refereed in the docs... I was using mount: uwsgi -s /tmp/moin.socket --uid nginx --gid nginx --mount /wiki=/usr/pkg/share/moin/mywiki/moin.wsgi -M -p 2 -d /var/log/nginx/uwsgi_moin.log --logdate --pid

Re: uWSGI + Moin (subdir) + Nginx

2013-03-25 Thread Roberto De Ioris
> Hi, > > I followed the example in: > > http://projects.unbit.it/uwsgi/wiki/Example#MoinMoinonlinenow > > > However when I type domain/wiki I get a message that the page does not > exist yet... which already tells me something is wrong, and also all my > URL's are point to '/' not '/wiki' > > I c

uWSGI + Moin (subdir) + Nginx

2013-03-25 Thread Miguel Clara
Hi, I followed the example in: http://projects.unbit.it/uwsgi/wiki/Example#MoinMoinonlinenow However when I type domain/wiki I get a message that the page does not exist yet... which already tells me something is wrong, and also all my URL's are point to '/' not '/wiki' I can't seem to figure

Re: max virtualhosts

2013-03-25 Thread Larry
Many thanks to both of you, you made my day :) Larry Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237702,237743#msg-237743 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: ngx unescape uri bug

2013-03-25 Thread Maxim Dounin
Hello! On Mon, Mar 25, 2013 at 03:11:10PM +0800, David Shee wrote: > I'm Zuwen Shi from China,I find a unescape uri bug in your program. > The source code location is src\core\ngx_string.c->ngx_unescape_uri > If I put a string "%%s%elect",it convert the string to "%slect",and %% to > %,%el to l,a

Re: How to make nginx establish persistent connections with squid?

2013-03-25 Thread Maxim Dounin
Hello! On Sun, Mar 24, 2013 at 04:42:36AM -0400, selphon wrote: [...] > Though the response is in HTTP/1.0, the persistent connections is > successfully established between chrome and squid. I wonder, is there a > restriction that nginx can only make establish persistent connections when > the

ngx unescape uri bug

2013-03-25 Thread David Shee
I'm Zuwen Shi from China,I find a unescape uri bug in your program. The source code location is src\core\ngx_string.c->ngx_unescape_uri If I put a string "%%s%elect",it convert the string to "%slect",and %% to %,%el to l,actually the right convert is "%%s%elect". So,I patch the ngx_unescape_uri lik

[ANN] ngx_openresty devel version 1.2.7.3 released

2013-03-25 Thread agentzh
Hello! I am happy to announce that the new development version of ngx_openresty, 1.2.7.3, is now released: http://openresty.org/#Download Special thanks go to all our contributors and users for helping make this release happen! Below is the complete change log for this release, as compared