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

ASP.NET
合理的网盟广告策略:如何规划与投放网盟广告
GoDaddy Backorder域名抢注经验分享
Google Analytics获得GOOGLE真正的收录网站数据指标
Visual Studio 2008 Team Suite简体中文正式版- 激活方法

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-13   浏览: 49 ::
收藏到网摘: 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则以为着不处理。