I have the same problem as the poster of this question Starting an ASP.NET MVC application behind a proxy with a different root relative path
except that I run the "classic" ASP.NET 4.0 in IIS 7. Basically, the application is deployed to http: // machine / MyApp , but it is accessed through a proxy server: http: // someotherMachine / SomeDirectory / MyApp. Thus, ASP.NET considers / MyApp to be the root, but in this case it really is not. Are there any magic ASP.NET or IIS settings that I can say: "Hey, by the way, is this application's root actually SomeDirectory, not MyApp?"
Is it possible to create a directory such as SomeDirectory on my web server, install it as the root application, and then create a virtual directory in SomeDiretory that points to MyApp?