Hướng dẫn khác phục lỗi giao thức PUT HTTP Error 405 (Method Not Allowed) trên Plesk

Khi sử dụng phương thức PUT HTTP trong ứng dụng, có thể bạn sẽ gặp phải lỗi sau:

405 - HTTP verb used to access this page is not allowed.
HTTP Error 405.0 - Method Not Allowed

Nguyên nhân do trình xử lý WebDAV xung đột với trình xử lý .NET Core.

Cách khắc phục là bạn hãy mở file web.config của mã nguồn, tìm section <system.webServer> và thêm nội dung sau vào bên dưới:

<system.webServer>
    <modules>
        <remove name="WebDAVModule" />
    </modules>
    <handlers>
        <remove name="WebDAV" />
    </handlers>



Article ID: 1143
Cập nhật gần nhất: 03 Th01, 2025
Lần sửa đổi: 1
Web Hosting -> Hosting Windows -> Hướng dẫn khác phục lỗi giao thức PUT HTTP Error 405 (Method Not Allowed) trên Plesk
https://kb.hostvn.net/hung-dn-khac-phc-li-giao-thc-put-http-error-405-method-not-allowed-tren-plesk_1143.html