------- HTTP 405 error-method not allowed)

Source: Internet
Author: User

Introduction

HTTP defines some methods to specify the actions that need to be performed on the Web server to obtain the specific website resources specified by the client (such as your browser or our checkupdown robot. These methods are as follows:

    • options: Find the communication options that apply to resources of a specific website. Allows the client to determine resource-related options and/or requirements, or the performance of a server, without performing specific actions involving data transmission.
    • Get: retrieves information determined by the website resources, such as a specific webpage or image. This is the most common method.
    • head (header): In addition to the header information provided by the server rather than the information determined by the website resource, it is basically the same as get (get ). It can be used to obtain the metadata of the response entity required by a request, without transmitting the response entity itself. It is often used to test the validity, accessibility, and recent modifications of hypertext links.
    • post (posting): submit data to a Web server, for example, 1) send information to the bulletin board, newsgroup, or email list, 2) provide input data-generally, a Common Gateway Interface (CGI) Table is used to process data. 3) records are directly added to a database.
    • put: Set (put/replace) the data of a specific website to the new data submitted by the customer. For example, upload a new webpage to the server.
    • Delete: deletes data related to website resources. For example, delete a webpage.
    • trace: A Remote Application Layer send-back that runs the request information. It is actually a 'ping' to test what data the Web server is receiving from the client.
    • connect (connection): retained for use with the proxy server and tunnel (such as SSL ). This method is defined only in HTTP 1.1, but not in earlier 1.0.

All Web servers can be set to allow or not allow any method. For example, if a web server is 'readonly' (the client cannot modify the website resources on the Web server), it can be set to disallow the put and delete methods. Similarly, if there is no user input (all webpages are static), the POST method can be set as not allowed. Therefore, the 405 error may occur because the Web server is not set to accept input data from the client. In addition, if the client does not have sufficient authority for the specific website resources specified in the request, this error will also occur.

Solution to 405 error-General Method

405 Errors often occur together with the POST method. You may try to introduce an input table on your website, but not all Internet service providers (ISPs) Allow the POST method required to process the table.

All 405 errors can be traced back to the security management of website content settings and control on the Web server. Therefore, your ISP should easily explain it.

Solve the 405 error-checkupdown

We monitored your website and found errors similar to 405. This error should never occur in your checkupdown account. If this happens, it usually indicates that our system or the web server system that manages your website has programming flaws. We only use the get method. All Web servers should be allowed (otherwise, no one can see your website anyway ).

If you encounter a 405 error, please contact us (preferably by email)-You cannot resolve this error by yourself. We must contact your ISP and web server software vendor to confirm the exact cause of the error.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.