当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > asp.net CommunityServer中的wwwStatus

ASP.NET
.net数据库连接池配置技巧(默认值)
.NET 数据库连接池
asp.net sqlconnection con.close和con.dispose区别
ASP.NET 多次提交的解决办法
ASP.NET 多次提交的解决办法2
firebird Embedded模式(.net 3.5)
js 父页中的单选按钮取值
js控制.net验证控件是否可用。
ASP.NET AJAX时用alert弹出对话框
aspx 中文汉字显示为乱码
C# 小数位数保留的方法集锦
C# Math.Round()函数问题
C# ToString格式大全
ASP.net Forms验证Demo
asp.net 文章内容分页显示的代码
asp.net两级联动(包含添加和修改)
TreeView创建IHierarchicalDataSource类型的数据源实现
ASP.NET输出PNG图片时出现GDI+一般性错误的解决方法
Ajax.net 显示错误信息的设置
asp.net ListView 数据绑定

ASP.NET 中的 asp.net CommunityServer中的wwwStatus


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-13   浏览: 41 ::
收藏到网摘: n/a

最近不得不对这个论坛进行研究,以适应后面的发展,现在同事研究太吃力了,以后改些东西,估计又要...打开web项目中的communityserver.config发现一个有趣的地方。

wwwStatus (default = Remove)
Three supported values: Require, Remove, Ignore
Require validates the current Url uses www. (ie, http://www.communityserver.org)
Remove validates the current Url does not contain www.
Ignore does not validate the request

\大概意思是:
有3个属性:Require, Remove, Ignore。使用Require意味着必须使用www;使用Remove则意味着如果使用www.ruanchen.com则会自动跳为ruanchen.com;而使用Ignore则以为着不处理。