static POST

Igor Clark igor at pokelondon.com
Fri Aug 15 12:31:21 MSD 2008


Igor, this is great news, thank you. Will it be in the 0.6.x branch release?

----- Original Message -----
From: Igor Sysoev <is at rambler-co.ru>
To: nginx at sysoev.ru
Sent: Fri, 15 Aug 2008 08:10:27 +0100 (BST)
Subject: Re: static POST

On Fri, Aug 15, 2008 at 03:05:42PM +0800, Delta Yeh wrote:

> What does this feature use for?  Any scenarios?

This configuration is replacement of ugly hack:

   location / {

       if (-e $request_filename) {
           break;
       }

       proxy_pass  ...
   }


> 2008/8/14 Igor Sysoev <is at rambler-co.ru>
> 
> > The attached patch allows POSTs to non-existent files.
> > This allows POSTs in following configuration:
> >
> >    location / {
> >        error_page  404 = @fallback;
> >    }
> >
> >    location @fallback {
> >        ...
> >    }
> >
> > I intended to include it in the next release.


-- 
Igor Sysoev
http://sysoev.ru/en/








More information about the nginx mailing list