title: How to fix "405 - HTTP verb used to access this page is not allowed"?
body: <p>I know this question was asked here but no answers seem to solve my problem.</p>
  
  <p>I have a server running in amazon-web-services. It is Windows 8 + IIS8. My website has a form with POST method. The website was developed with python 3.</p>
  
  <p>On localhost everything works perfectly.</p>
  
  <p>However, when I upload it and try to submit the form , I get this error:</p>
  
  <blockquote>
    <p>405 - HTTP verb used to access this page is not allowed. The page you
    are looking for cannot be displayed because an invalid method (HTTP
    verb) was used to attempt access.</p>
  </blockquote>
  
  <p>As other answers suggest, there might be a problem with the "post" method, so I tried to change it to "get", and then I got this error:</p>
  
  <blockquote>
    <p>404 - File or directory not found. The resource you are looking for
    might have been removed, had its name changed, or is temporarily
    unavailable.</p>
  </blockquote>
  
  <p>I tried to running the website from the server via "localhost", so that I get a better information and here is what I got:</p>
  
  <blockquote>
    <p>HTTP Error 405.0 - Method Not Allowed</p>
    
    <p>The page you are looking for cannot be displayed because an invalid
    method (HTTP verb) is being used.</p>
    
    <p>Most likely causes: •The request sent to the Web server used an HTTP
    verb that is not allowed by the module configured to handle the
    request. •A request was sent to the server that contained an invalid
    HTTP verb. •The request is for static content and contains an HTTP
    verb other than GET or HEAD. •A request was sent to a virtual
    directory using the HTTP verb POST and the default document is a
    static file that does not support HTTP verbs other than GET or HEAD.</p>
    
    <p>Things you can try: •Verify the list of verbs enabled for the module
    handler this request was sent to, and ensure that this verb should be
    allowed for the Web site. •Check the IIS log file to see which verb is
    not allowed for the request. •Create a tracing rule to track failed
    requests for this HTTP status code. For more information about
    creating a tracing rule for failed requests, click here.</p>
  </blockquote>
  
  <p>I am not too good with configurations and got really confused. Could you please help to fix it?
  here is my website (just fill the form and you will see the error): <a href="http://nztracker.nz" rel="nofollow">nztracker.nz</a></p>