Following problem:
I have an asp.net application that runs on www.example.com. (the app
lies in the root folder of iis server)
I have a second asp.net application that needs to be accessible by
typing www.example.com/app2.
App2 is a full fledged application, with a own /bin folder,
web.config file etc.
Currently, I have set up app2 as a virtual folder in the root folder
of app1 and it works sort of - I need to put the compiled .dll file
(both apps are .net 1.1 applications) of app1 into the /bin folder of
app2, alongside with the .dll of app2 of course.. Otherwise, it won't
work. (A failure message about the web.config will come up)
So, is there a better way to accomplish this? I thought, that maybe I
should define app2 as a own website, but the requirement still
persists, that it needs to be accessed by typing example.com/app2. I
haven't found a way to do this. I tried to create a folder in the root
folder of example.com, calling it app2, and somehow redirect it to the
website app2, but it doesn't work. (Note: with "website" I mean the
IIS 6 entity: http://www.simongibson.com/intranet/iis6/images/Image06.gif
not a "real" website).
Is it possible to redirect a folder or virtual folder to a IIS 6
website (website as in: http://www.simongibson.com/intranet/iis6/images/Image06.gif),
and note: this website shall not be accessible by a host header or
direct IP address, but only by the redirection, i.e.: www.example.com/app2