configuration - ASP.NET inner directory virtual path root -
i have 2 separate web applications named mainweb , reports. want deploy them way: there 1 virtual application mainweb, pointed, instance, c:\inetpub\www\mainweb.
the reports application deploy in subdirectory of main web, @ c:\inetpub\www\mainweb\reports.
thus can combine 2 logically coupled want have them in separate projects easy manipulation.
the problem is, in reports project use constructs ~/style/whatever.css
works fine when running standalone reports application when using subdirectory in main web, resolves http://localhost/style/whatever.css though need resolve http://localhost/reports/style/whatever.css.
so question is, possible handle situation, maybe way modify behavior of ~
in nested web.config?
not webby guy, how shortcut real folder in reports?
Comments
Post a Comment