Receiving “Path 'OPTIONS' is forbidden.” Exception in ASP.NET website

前端 未结 6 1729
粉色の甜心
粉色の甜心 2021-02-07 11:35

I am getting the error System.Web.HttpException: Path \'OPTIONS\' is forbidden. since we moved our website over to a new server setup. I am unable to recreate the e

6条回答
  •  忘掉有多难
    2021-02-07 11:57

    Are you getting any user error reports or similar. OPTIONS is an http verb that is used to find outthe capabilities of the server. It sounds like your new web server is not configured to allow this verb, probably for security reasons. A normal web request from a browser would not use this verb and it is often used by malware/bots scanning web servers for vulnerabilities to exploit.

提交回复
热议问题