在我发布到IIS(7.5)后尝试访问/Glimpse.axd时,我现在收到403 Forbidden响应. IIS中是否有禁用访问.axd文件的设置?或者这完全是另一回事?
解决方法
这通常是因为Glimpse的web.config部分中不允许使用源IP地址.我昨天刚开始讨论这个问题.
在web.config文件中查找,它可以在web.config文件中的任何位置.
<glimpse enabled="true"> <ipAddresses> <!-- List of IP addresses allowed to get Glimpse data. Optional. localhost (IPv4 &IPv6) by default --> <add address="x.x.x.x"/> <!--The ip of your machine --> <add address="::1"/> </ipAddresses> </glimpse>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。