I'm currently running into a bit of a problem.
All I want is to have a collection of "independant" subfolders, from where I can run seperate asp.net websites.
An example of my folder structure:
The problem I am running into, is that I have been using the tilde in my paths, when developing on my local system using VWD 2008 Express.
|-- |-- [site1] (root of "site 1", with local Web.Config)
|-- |-- [site2] (root of "site 2", with local Web.Config)
|-- '-- [site3] (root of "site 3", with local Web.Config)
|-- |-- [site4] (root of "site 4", with local Web.Config)
'-- '-- [site5] (root of "site 5", with local Web.Config)
Apparently the "~/" is looking for the "absolute" root of the website, not the "local" root, atleast not in the way I want it to behave.
Furthermore, the websites are running on a hosted webserver, where I have no access for modifying any "machine" configuration.
This leaves me to rely on the web.config file.
The question is how do I set up the server with the web.config, and how do I prevent each "subsite" to look for the absolute root, instead of the folder where the "subsite's" web.config fil is located?
I hope anyone can point me in the right direction, this is beginning to annoy me