http://192.168.1.130/Assistant/ShopManager/Shop.aspx
string url= Request.ApplicationPath == "/" ? ".." : Request.ApplicationPath;
Response.Redirect(url+"/404.aspx");//http://192.168.1.130/Assistant/404.aspx
http://192.168.1.130/Assistant/ShopManager/Shop.aspx
string url= Request.ApplicationPath == "/" ? ".." : Request.ApplicationPath;
Response.Redirect(url+"/404.aspx");//http://192.168.1.130/Assistant/404.aspx
转载于:https://www.cnblogs.com/Harvard-L/p/7268240.html