I would like to serve another content depending on whether a user is using a proxy server or not.
if(FROM_PROXY){
routes.MapRoute(
name: "ProxyDefault",
url: "{controller}/{action}/{id}",
defaults: new { controller = "HomeProxy",
action = "Index", id = UrlParameter.Optional
}
);
}
So, how to detect if my asp.net mvc application is accessed via a proxy?