Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28058

Web.config Inheritance challenge

$
0
0

I'm trying to set up an IIS 6 server that hosts multiple applications and a default HTML site.

If you navigate to www.website.com I'd like you to go to a specific directory:  d:\webapps\dev\website

However, since we have several .Net apps on this server, we have an "environment web.config" that needs to be inherited.  I was trying to keep that at d:\webapps\dev ["dev" is the environment - so on this server, we have multiple enivronments separated out as websites using different ports - all are under the d:\webapps directory].  The problem is that an app located at d:\webapps\dev\app won't get the inherited web.config residing in d:\webapps\dev because the "default home directory" is at d:\webapps\dev\website

How do I resolve this directory structure so that subordinate applications inherit a web.config but the default website is in a peer directory?  I've tried the redirect page but management doesn't like that the URL changes (eg. it would be www.website.com/website upon redirect).

Any ideas on this - I feel like I'm missing something rather simple.

Thanks in advance,

Mark

 

 


Viewing all articles
Browse latest Browse all 28058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>