首页 > 开发 > .Net > 正文

asp.net CommunityServer中的wwwStatus

2020-04-24 22:06:07
字体:
来源:转载
供稿:网友

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.Cuoxin.com则会自动跳为Cuoxin.com;而使用Ignore则以为着不处理。

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表