Discussion Locked

HTTP 405 - Resource not allowed

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
When trying to use the search function on our website we get the error HTTP 405 - Resource not allowed. Any ideas as to what would be causing it?

5 replies

by ann777

Look at MS Knowledgebase articles:
Q238461
Q229295
Q216493
Q206046
Q186809
Q179730

Most of the above have to do with Front Page Server Extensions. These are six articles numbers i include here after pulling up a kwyword search (using allwords) of "405 resource not allowed." It pulled up 15 articles. One of them should resolve the proble,m

by jay eckles

First of all, the answer is almost certainly specific to the webserver you're using. I haven't looked through the KB articles already posted by another member, but they'll be pretty useless if you're running Apache or another web server besides IIS.

Second, here's what the 405 header means in general:
In HTTP/1.0, a 405 response header means "Method Not Allowed". The "Method" is the method indicated in the original HTTP request; if you make a request of the search engine via a form that has "method=POST", then obviously the method is POST.

Often this type of error in this context ocurrs when you have not set the permissions correctly for an executable like a CGI program or a Java servlet. Double check your setup with regards tothe executable associated with the search function. Also, check that the action attribute of your form element is pointing to the correct executable. Finally, you might try changing the method of the form (to GET if it's currently POST or to POST if it's currently GET).

If you provide some more information about what web server you're using, and what kind of executable the search function is (CGI, server plug-in, etc.), I'll try to be more specific in my help.

Good luck.

Jay Eckles
www.jayeckles.com

This discussion is closed to new replies.