Re: [PATCH] Honor the redirect response overwritten in error_page for absolute urls

2013-01-10 Thread lanshun zhou
All right. We'll use $scheme://$host/error.html in http block, because we have lots of server blocks in the deploy. Thanks. 2013/1/11 Maxim Dounin > Hello! > > On Thu, Jan 10, 2013 at 11:57:58PM +0800, lanshun zhou wrote: > > > Yeah, this will break current supported configs like the one you > p

Re: [PATCH] Honor the redirect response overwritten in error_page for absolute urls

2013-01-10 Thread Maxim Dounin
Hello! On Thu, Jan 10, 2013 at 11:57:58PM +0800, lanshun zhou wrote: > Yeah, this will break current supported configs like the one you provided. > But only > the ones with 30x response code overwritten and without named location are > affected. I think =30x in error_page is something like the "r

Re: [PATCH] Honor the redirect response overwritten in error_page for absolute urls

2013-01-10 Thread lanshun zhou
Yeah, this will break current supported configs like the one you provided. But only the ones with 30x response code overwritten and without named location are affected. I think =30x in error_page is something like the "redirect" flag in "rewrite", which means "I want the redirect" by default. I co

[nginx] svn commit: r5008 - tags

2013-01-10 Thread mdounin
Author: mdounin Date: 2013-01-10 13:17:29 + (Thu, 10 Jan 2013) New Revision: 5008 URL: http://trac.nginx.org/nginx/changeset/5008/nginx Log: release-1.3.11 tag Added: tags/release-1.3.11/ ___ nginx-devel mailing list nginx-devel@nginx.org http:

[nginx] svn commit: r5007 - trunk/docs/xml/nginx

2013-01-10 Thread mdounin
Author: mdounin Date: 2013-01-10 13:17:04 + (Thu, 10 Jan 2013) New Revision: 5007 URL: http://trac.nginx.org/nginx/changeset/5007/nginx Log: nginx-1.3.11-RELEASE Modified: trunk/docs/xml/nginx/changes.xml Modified: trunk/docs/xml/nginx/changes.xml

[nginx] svn commit: r5006 - in trunk/src: core http

2013-01-10 Thread ru
Author: ru Date: 2013-01-10 12:58:55 + (Thu, 10 Jan 2013) New Revision: 5006 URL: http://trac.nginx.org/nginx/changeset/5006/nginx Log: Fixed "proxy_pass" with IP address and no port (ticket #276). Upstreams created by "proxy_pass" with IP address and no port were broken in 1.3.10, by not ini

Re: [PATCH] Honor the redirect response overwritten in error_page for absolute urls

2013-01-10 Thread Maxim Dounin
Hello! On Thu, Jan 10, 2013 at 07:31:07PM +0800, lanshun zhou wrote: > Absolute url in error_page is always treated by an internal redirect, even > if the response > code is specified with 301/302. This patch honors the response code > specified and > makes it possible to redirect with absolute u

[nginx] svn commit: r5005 - trunk/misc

2013-01-10 Thread mdounin
Author: mdounin Date: 2013-01-10 11:38:14 + (Thu, 10 Jan 2013) New Revision: 5005 URL: http://trac.nginx.org/nginx/changeset/5005/nginx Log: Updated PCRE used for win32 builds. Modified: trunk/misc/GNUmakefile Modified: trunk/misc/GNUmakefile =

[PATCH] Honor the redirect response overwritten in error_page for absolute urls

2013-01-10 Thread lanshun zhou
Absolute url in error_page is always treated by an internal redirect, even if the response code is specified with 301/302. This patch honors the response code specified and makes it possible to redirect with absolute url in error_page easily. absolute_url_redirect.patch Description: Binary data _