Page 1 of 1

Get HTTP 405 - Resource not allowed then must refresh page

Posted: Thu Apr 08, 2004 1:58 pm
by gringolerdo
I have a form on a page with a .php extension (http://www.linkpool.net/linkarrange/linkorder.php) that has as the "Action" a page with an .htm extension (http://www.linkpool.net/linkarrange/orderconfirm.htm) running on unix/apache. The problem is that everytime I click the "Submit" button of the form, this page comes up "HTTP 405 - Resource not allowed
Internet Explorer ". I then have to click the "Refresh" button of the browser in order to see the correct landing page. I tried chmoding the landing page to allow all permissions but this did not help. Can anyone tell me why this happens? :?:

Posted: Thu Apr 08, 2004 2:33 pm
by TheBentinel.com
That error means you have tried to do something to a file type that doesn't support it. The server is saying, "You can't 'POST' to an .htm file". When you hit refresh, you're sending a GET, though not with any variables.

If you change the method in your form from POST to GET, it will probably work.

Sorry for being clueless!

Posted: Fri Apr 09, 2004 8:49 am
by gringolerdo
:?
Sorry for the bother. The Error was a result of a stupid clueless lack of basic understanding which I have remedied. I'll never waste your generous time again!??
Thanks anyway for the response