62,254
社区成员
发帖
与我相关
我的任务
分享
void Application_BeginRequest(object sender, EventArgs e)
{
string url = HttpContext.Current.Request.Url.ToString().ToLower();
if (!url.StartsWith("http"))
{
HttpContext.Current.Response.Redirect(url.Replace("https","http"));
}
}