Life of objects allocated using the request pool?

2014-06-10 Thread Adarsh Pugalia
What is the life of objects allocated using the request pool? If I allocate memory from the r->pool in a request handler, what would be the life of the object? Will the objects be freed if the request is over of will it sustain over multiple requests? ___

nginx gunzip memcached data , xss_callback failed

2014-06-10 Thread xinster8192
Hi, I use nginx to read mecached data and write to memcached by java XmemcachedClient . Xmemcached compress data that larger than 256kB before write . So nginx i use ngx_gunzip_module and memcached_gzip_flag to unzip data from mecached to be sure unzip is Ok . the problem is xss_callback_arg is fai

Re: Rewrite rules from Apache again

2014-06-10 Thread Francis Daly
On Tue, Jun 10, 2014 at 06:00:13PM +0200, Luciano Mannucci wrote: Hi there, > works pretty weff if turned into: > > rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ; > does not work if translated as: > > rewrite ^/privacy.php$ /pagina.php?k=privacy ; > > the request is passed unchanged and I get a

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

2014-06-10 Thread Thaxll
Hi Maxim, Thank you for the quick reply, I guess there is no workaround for that problem? It isn't possible to remove headers or specify a dummy protocol for Nginx? Thank you, Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250772,250776#msg-250776

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

2014-06-10 Thread Maxim Dounin
Hello! On Tue, Jun 10, 2014 at 02:49:58PM -0400, Thaxll wrote: > Hi, > > I'm using Nginx to serve a file called crossdomain.xml, that file is used by > Flash client to allow socket crossdomain Policy. It's a trick that many > people are using instead of having a dedicated app to server that file

Re: location uri wildcard

2014-06-10 Thread grd2345
Ah, gotcha, I am new to this and thanks for the link to this documentation. I will close this thread. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250768,250774#msg-250774 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mail

Re: location uri wildcard

2014-06-10 Thread B.R.
Well, that is maybe why you have not received any help and might not receive some. No effort, no problem, no help. http://www.catb.org/esr/faqs/smart-questions.html#before If you wanna learn about configuring nginx, a good head start is the official documentation: http://nginx.org/en/docs --- *B.

400 bad requests now returning http headers? ( crossdomain.xml )

2014-06-10 Thread Thaxll
Hi, I'm using Nginx to serve a file called crossdomain.xml, that file is used by Flash client to allow socket crossdomain Policy. It's a trick that many people are using instead of having a dedicated app to server that file. The trick is to return that xml file when nginx get a bad request. Since

Re: Unable to complete secure transaction

2014-06-10 Thread B.R.
>From the error message on Safari, one could determine the problem does not come from the certificate but from looping (internal?) redirections. Where does the loop occur? nginx or NodeJS? (ie is the request correctly forwarded or not) If nginx, what does the error log says? Same questions for Ope

Re: location uri wildcard

2014-06-10 Thread grd2345
I havent tried anything yet. All I ever did was redirect a single domain. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250768,250770#msg-250770 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: location uri wildcard

2014-06-10 Thread B.R.
What have your tried? What do your access logs show? What did you expect? --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

location uri wildcard

2014-06-10 Thread grd2345
I recently converted my website from asp.net and have the following links out there that I would like to permanent redirect to my new url, but I seem to not be able to create this. My goal is to create one rewrite or something that can handle all of these. The old urls are as follows. http://www

Re: Unable to complete secure transaction

2014-06-10 Thread khine
the site in question is https://dev.continentalclothing.com/ Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250765,250767#msg-250767 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Rewrite rules from Apache again

2014-06-10 Thread Luciano Mannucci
I'm still trying to move everything from apache to nginx. I've successfully translated some rules from the .htaccess: RewriteRule ^(.*)_k(.*)\.htm$ pagina.php?k=$2 works pretty weff if turned into: rewrite ^/(.*)_k(.*).htm$ /pagina.php?k=$2 ; while RewriteRule ^privacy.php$ pagina.php?k=priva

Unable to complete secure transaction

2014-06-10 Thread khine
Hello, I am using the following nginx.conf https://gist.github.com/nkhine/f620f8bdc0fb613b7b59 and have an EV Multi-Domain certificate from COMODO for my company. This works on Chrome and Firefox, but I am having difficulties on Safari and Opera. My server is FreeBSD 10 with ZFS, with Nginx runnin

Re: input body filer

2014-06-10 Thread Maxim Dounin
Hello! On Mon, Jun 09, 2014 at 10:53:49PM -0400, spch2008 wrote: > Now I want to do some security testing for input body, but I find nginx > doesn't have the detection mechanism for input body. > anyone who can tell me why? Thanks! http://mailman.nginx.org/pipermail/nginx-devel/2013-March/003492

Re: Accessing the location configuration of module 2 during post configuration processing of module 1 for a particular server

2014-06-10 Thread Maxim Dounin
Hello! On Tue, Jun 10, 2014 at 02:09:13AM +0800, Rv Rv wrote: > How do we access the configuration of a an unrelated module in a > given module. This may be required for example to check if the > directives pertaining to module 2 were specified in location for > a particular server that has di

Re: Switching to nginx: php and rewrite rules from apache

2014-06-10 Thread Luciano Mannucci
On Sat, 7 Jun 2014 11:39:55 +0100 Francis Daly wrote: > add something like > > location ~ \.php$ { > fastcgi_pass 127.0.0.1:9004; > } > > so that nginx knows to handle this request the way you want it to. Works! :-) :) I had to add few other things (it was looking f

Re: Proxy_Pass to another vhost on same machine

2014-06-10 Thread Maxim Dounin
Hello! On Mon, Jun 09, 2014 at 01:53:11PM -0400, paulg1981 wrote: > Hello, > I am attempting to use ca.mydomain.com with client certificate auth as a > springboard for other sites on the same server. I am using client certs with > my iphone (and other browsers) to skip the password auth and be mo

Re: CORS headers not being set for a 401 response from upstream.

2014-06-10 Thread Maxim Dounin
Hello! On Mon, Jun 09, 2014 at 04:35:31PM +0530, Srirang Doddihal wrote: > Hi, > > I am trying to setup CORS headers in my nginx config. My config is here : > http://pastie.org/private/eevpeyy6uwu25rl5qsgzyq > > The upstream is defined separately. > > It responds fine to OPTIONS request. It al