1. 程式人生 > >IIS配置應用時,請求Header或Cookie過長

IIS配置應用時,請求Header或Cookie過長

log req -c gpo body settings port mic http

可以在註冊表中配置IIS

MaxFieldLength

MaxRequestBytes

註意配置後需重啟http服務於iis服務

net stop http

net start http

iisreset

參考文章 https://support.microsoft.com/zh-cn/help/820129/http-sys-registry-settings-for-windows

IIS配置應用時,請求Header或Cookie過長