Published on: February 25, 2010 by Arnold Pablo
Our windows server management clients often complaints that on HTML pages, they were getting the error,
"405 - HTTP verb used to access this page is not allowed".
405 means that your Web Server is not recognizing the HTTP method(GET,POST,HEAD etc.) in the request. Despite asking him to change the extension to .asp, he insisted on having HTML extension and still process the HTTP verbs, where it is POST method here.
The situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do HTML parse as PHP in Linux boxes Here are the steps to do it on a Windows 2003 machine
1. Start –> Run –> inetmgr
2. Websites –> website/domain name in question
3. Right Click on the domain –> Properties –> Home Directory –> Configuration
4. In the tab Mappings –> Add an extension for .html and .htm , if it is missing (most cases it will be missing) and edit to add all verbs (POST, GET, HEAD are needed)
5. Fields to be added are as below,
Executable : C:\WINDOWS\system32\inetsrv\asp.dll
Extension : .html
Limit to : GET,HEAD,POST,TRACE
And Click Apply,OK :)All is well !!
If you need any assistance regarding windows servers, you can contact our windows server management team directly and they will help you in no time 🙂
Category : IIS, Troubleshooting, Windows
Add new commentSIGN IN