rewrite difficulty

2013-04-29 Thread tseveendorj
Hello, I have difficulty to convert apache like rewrite to nginx. This is my config file of virtualhost on nginx. http://pastebin.com/HTtKXnFy My installed php script should have following rewrite http://pastebin.com/M2h3uAt3 Currently any requested php code displayed it's source on browser

RE: Online Jobs and Entertainment

2013-04-29 Thread Kingsley Foreman
Ironports :) Kingsley -Original Message- From: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] On Behalf Of Paul N. Pace Sent: Tuesday, 30 April 2013 2:57 AM To: nginx@nginx.org Subject: Re: Online Jobs and Entertainment Speaking of which, what do you guys use for a spam filter

Converting subdomain to path component without redirect ?

2013-04-29 Thread henrique matias
Hello guys, Am having trouble setting up my nginx.config to transparently proxy the subdomains and domains to the same app, but with different "path components" appended to the $uri example: mydomain.it/PATH should return ~> mydomain.com/it/PATH using regexp: (www\.)?mydomain\.(it|jp|es|de) to r

Re: Online Jobs and Entertainment

2013-04-29 Thread Paul N. Pace
Speaking of which, what do you guys use for a spam filter? I've been thinking about setting up mailman. I'm surprised at how little spam I've seen here given how popular nginx is. (I realize this gem came from a forum post). --Original Message-- From: Rickey Sender: nginx-boun...@nginx.or

Online Jobs and Entertainment

2013-04-29 Thread Rickey
http://kholyar.blogspot.com/ Open It And Enjoy :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238720,238720#msg-238720 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx security issue?

2013-04-29 Thread Maxim Dounin
Hello! On Mon, Apr 29, 2013 at 08:15:42AM +0200, Stefanita Rares Dumitrescu wrote: > Hi guys > > This was posted today: > > http://blog.solidshellsecurity.com/2013/04/29/nginx-ngx_http_close_connection-function-integer-overflow-exploit-patch/?utm_source=feedly > > Has this been patched? I don'

about alleged security issue

2013-04-29 Thread Maxim Dounin
Hello! Recently a report appeared alleging an integer overflow vulnerability in nginx, claiming remote code execution impact. We've carefully investigated the issue, and cannot confirm the alleged vulnerability exists. Taking this opportunity to remind: if you think you've found a security issue

Re: load balancing according to url

2013-04-29 Thread Andrey Feldman
Hi. Emm, maybe you want to make some kind of sharding by the value of your cookie? upstream backend { server server1; server serve

Re: load balancing according to url

2013-04-29 Thread ESWAR RAO
Hi Mex, Thanks for the response. But I don't think the sticky-module is going to help in my case where the load balancing is to be done based on a particular filed in the URL. Thanks Eswar On Mon, Apr 29, 2013 at 12:56 PM, mex wrote: > there's a sticky-module (3rd-party), maybe this works ou

Re: load balancing according to url

2013-04-29 Thread ESWAR RAO
Hi Antonio, Thanks for the response. I am unable to understand your solution. As I said, I am unable to know which server served the requests to respective customer-id. So I cant write the below map directive. map $customer_id $sticky_backend { default bad_gateway; ; ; } Thanks Eswar

Re: nginx openssl compilation problem

2013-04-29 Thread Fleshgrinder
Finally I was able to compile nginx and of course I'd like to share this with you. Seems like the order of the configure options was the problem. I used the following configure argument order and it compiled without any problems. nginx version: nginx/1.4.0 built by gcc 4.7.2 (Debian 4.7.2-5) TLS S

Re: load balancing according to url

2013-04-29 Thread António P . P . Almeida
You chain two map directives. Like this: map $uri $customer_id { ~/customer/(?[^/]+)/.*$ $cust_id; } map $customer_id $sticky_backend { default bad_gateway; ; ; } appa On Mon, Apr 29, 2013 at 8:27 AM, ESWAR RAO wrote: > Hi All, > > Can anyone please help me with the bel

Re: load balancing according to url

2013-04-29 Thread mex
there's a sticky-module (3rd-party), maybe this works out of the box for you. https://code.google.com/p/nginx-sticky-module/wiki/Documentation Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238694,238700#msg-238700 ___ nginx mailing list ngi

Re: Wordpress RSS pages dont work with Nginx

2013-04-29 Thread rahmanusta
I've removed the WP-Super cache. How can i do 2) ? I dont know how to do it. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238692,238698#msg-238698 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx