Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Igor Sysoev <is-G97k7egY2jIKNkxEY4oc4w <at> public.gmane.org>
Subject: Re: POST to an html page
Newsgroups: gmane.comp.web.nginx.english
Date: Monday 8th October 2007 16:47:21 UTC (over 9 years ago)
On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan Vanasco wrote:

> I'm trying to POST a form to an html page -- there is no code ; i am  
> just faking a form flow for a client
> 
> nginx gives me a "405 Not Allowed" on the post request ; i can get  
> the page fine
> 
> is there a directive i can use to get around this ?

No, as static page can not handle POST, so nginx return 405.
There is workaround:

     error_page   405   = @405;

     location = @405 {
         root   ...;
     }


-- 
Igor Sysoev
http://sysoev.ru/en/
 
CD: 3ms