Plesk for Windows
kb: technical
ABT: Group B
Applicable to:
- Plesk for Windows
Symptoms
Unable to use DELETE, PUT or PATCH HTTP verbs with .php files or Web API on Plesk server. The following error message appears in a browser:
PLESK_INFO: 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
Cause
Specific HTTP verbs are not registered for a particular handler/file extension.
Resolution
This video guide is intended for Plesk administrators. If you are a domain owner, please contact your service provider for assistance with configuration of HTTP methods.
Note: If the issue still persists, refer to the official Microsoft documentation for further troubleshooting: Troubleshooting HTTP 405 errors
Comments
9 comments
how to use this on an ubuntu server?
I already enabled the apache module "allowmethods" and added
<Location "/">
AllowMethods GET POST OPTIONS DELETE PUT
Require all granted
</Location>
to my .htaccess. now I'm getting a HTTP 500
Hello @Adrian Schnell.
As I can see you have submitted a ticket to Plesk Technical Support in regards to the issue mentioned.
A reply was sent to you already.
Thank you! This was my issue however there I needed to disable WebDAV implicitly in the web.config even though it was not enabled!
<modules>
<remove name="WebDAVModule"/>
</modules>
<handlers accessPolicy="Read, Execute, Script">
<remove name="WebDAV" />
</handlers>
Hello @Alon Berman,
Yes, seems in your particular case there was a conflict between WebDAV and .NET Core IIS handlers
Glad to see that you figured it out!
Suppose others can find this solution useful!
Ive tried this but it seems its still not working for me, is there any other method i could try ?
Hello @RuschGaming
Please submit a ticket to investigate the issue further https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support-
Hello @RuschGaming
Let's put this into our web.config file under <configuration> and <system.webServer>
or
How do we accomplish this on Plesk for Linux?
Please sign in to leave a comment.