Glimpse.axd 403ing在IIS [英] Glimpse.axd 403ing On IIS
本文介绍了Glimpse.axd 403ing在IIS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当试图访问/Glimpse.axd我已经发布到IIS(7.5)后,我现在收到403禁止响应。有没有在IIS中的禁止访问文件个.axd的设置?或者这是别的东西完全?
When trying to access /Glimpse.axd after I've published to IIS (7.5), I'm now receiving a 403 Forbidden response. Is there a setting in IIS that disables access to .axd files? Or is this something else entirely?
推荐答案
这通常是由于这样的事实:你的源IP地址是不是在窥web.config部分,允许的。我昨天刚跑了这个问题。
This is usually due to the fact that your source IP Address is not allowed in the web.config section for Glimpse. I just ran in to this issue yesterday.
查找这web.config文件,它可以在web.config文件中去任何地方。
Look for this in your web.config file, it can go anywhere in the web.config file.
<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>
这篇关于Glimpse.axd 403ing在IIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文