We have a web application on our server in a directory
c:\inetpub\wwwroot\myapp
Inside the myapp directory we have a sub directory called mysubapp. mysubapp has its own bin directory, and requires DLLs in the myapp\bin directory
So the directories are as follows:
c:\inetpub\wwwroot\myapp
c:\inetpub\wwwroot\myapp\bin
c:\inetpub\wwwroot\myapp\mysubapp
c:\inetpub\wwwroot\myapp\mysubapp\bin
We currently have IIS set up with host headers so that myapp.mycompany.com points to c:\inetpub\wwwroot\myapp and http://mysubapp.mycompany.com redirects to http://myapp.mycompany.com/mysubapp.
We want mysubapp.mycompany.com to point to c:\inetpub\wwwroot\myapp\mysubapp without having the URL say http://myapp.mycompany.com/mysubapp.
I've tried setting up host headers to point but c:\inetpub\wwwroot\myapp\mysubapp without using a redirect, but when we do this we get an error saying that certain DLL files can't be found, the DLL files not found are the ones in c:\inetpub\wwwroot\myapp\bin. This error makes sense because an application can't locate DLLs outside of it's application directory.
Is there any way we can configure IIS to get this to work?