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 ?
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 ?
On Mon, Oct 08, 2007 at 12:15:58PM -0400, Jonathan V. 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 clientnginx gives me a “405 Not Allowed” on the post request ; i can get
the page fineis 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 ...;
}
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs