62,041
社区成员
发帖
与我相关
我的任务
分享
private void Application_BeginRequest(object sender, EventArgs e)
{
HttpApplication app = (HttpApplication)sender;
HttpRequest request = HttpContext.Current.Request;
if (url.IndexOf( "/web2/" ) >= 0) //级域名
{
HttpContext.Current.RewritePath( "实际的路径" );
return;
}
}