Quantcast
Channel: General
Viewing all articles
Browse latest Browse all 7363

Hosting two sites from single physical directory with two different web.config files.

$
0
0

Hi,

I have a scenario where i have to host two different sites pointing to same physical directory with separate web.config files. Not sure whether it is even possible. Any thoughts?

The issue i am facing is, caching is enabled in web.config, which is currently same for both sites. They should have separate caching directory configured else when i access these sites they are stepping on each other. I can't hard code saying if Site1 else Site2 because the site names can be different in production.

IIS version 7.5

Thanks.

bsk


Viewing all articles
Browse latest Browse all 7363

Trending Articles