为什么我在web.config中加了一个验证代码就发现所有的图片显示不了
代码如下:
<authentication mode= "Forms ">
<forms name= "nname " loginUrl= "login.aspx " protection= "All "> </forms>
</authentication>
<authorization>
<deny users= "? " />
</authorization>
------解决方案--------------------按照lz的应该就是
<location path= "444/images ">
<system.web>
<authorization>
<allow users= "* "/>
</authorization>
</system.web>
</location>
放在 </configuration> 之前就可.