我在我的web.config文件中添加了X-frame-Options。
这是我的web.config文件:
重启IIS后,我得到了500错误!!!有人能帮我找出问题吗?
这是我的web.config文件:
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="SAMEORIGIN" />
</customHeaders>
</httpProtocol>
重启IIS后,我得到了500错误!!!有人能帮我找出问题吗?