好奇怪的问题?
为什么我做我网站,在web.config文件中。禁止匿名用户访问以后,网站的样式全乱了。图片也看不到。
<authentication mode="Forms">
<forms name="system" loginUrl="index.aspx" timeout="30" protection="All" defaultUrl="index.aspx" domain="../">
</forms>
</authentication>
-->
<!--<authorization>
禁止匿名用户
<deny roles="?" />
</authorization>-->