IIS post .html页面报 405错误

IIS是不允许本地文件默认post请求的,windows10系统下的IIS(10.0版)默认也是不能 post请求\*.html或\*.json文件的

1 需要配置一下,配置如下:

2 双击处理程序映射,添加托管处理程序:

3 请求路径 *.html  类型: System.Web.UI.PageHandlerFactory  名称:Html-Integrate  确定

4 重启IIS

相关推荐
怪兽软家21 小时前
DaVinci Resolve/达芬奇 20安装教程及下载
windows·经验分享·生活
chao18984421 小时前
完整MES系统实现 (C# 客户端服务器)
服务器·windows·c#
Hello_Embed1 天前
Windows 安装 Claude Code 并接入 模型
windows·笔记·ai编程
Muyuan19981 天前
28.Paper RAG Agent 开发记录:修复 LLM Rerank 的解析、Fallback 与可验证性
linux·人工智能·windows·python·django·fastapi
AxureMost1 天前
4DDiG DLL Fixe 1.0.8.2 系统DLL修复工具
windows
怣疯knight1 天前
Windows不安装 Android Studio如何打包安卓软件
android·windows·android studio
空中海1 天前
02. 静态逆向、Manifest 分析与 Smali 重打包
服务器·网络·windows
一拳一个娘娘腔1 天前
告别图形化界面:基于CLI的Windows系统入侵排查与防御实战手册
windows·安全
疋瓞1 天前
批处理_基础补充、文件和文件夹处理_02
windows
nudt_qxx1 天前
Ubuntu 24.04/26.04 与 Windows 10/11 双系统时间不同步终极解决方案
windows·stm32·ubuntu