I have several web applications on my website in IIS 7.5, which will run my MVC2 web application.
WebSite
* Prod
* Test1
* Test2
I have a firewall routing configured to redirect from http://test1.mywebsite.com/xxxtohttp://my.actual.website/Test1
I used Url.Content("~/Content/Site.css"), but CSS is not loading. Looking at the source for the webpage, the URL is displayed as<link href="/Test1/Content/Site.css" ...>
Is there anything I can do to fix this? Perhaps using the IIS URL rewriter module or adding additional rules to my firewall.
source
share