asp.net mvc 4 - Path problems with running a sub application (umbraco) inside my MVC4 web application -
i have mvc4 web application, run locally @ mysite.local/. created application in iis 7, mapping mysite.local/corporatesite/. point application umbraco (cms) installation have locally.
this works pretty well.
i have these ui images , .css files in corporate site , linked-to absolute urls (examples: /css/mycss.css, /media/ui/myfunlogo.png, etc.).
now "/" root has changed, if want css , images work, have use /corporatesite/cssmycss.css... logical.
how can change configuration or sites setup or code don't have write whenever i'm linking file that. should use rewrite rules prepend application url?
how people integrate these elements ? know lot go through subdomains, not ideal @ moment.
thanks help!
(i think question related 1 how integrate umbraco mvc4 in different aspects. , answers not me.)
in umbracosettings.config, there setting "resolveurlsfromtextstring".
setting true should tell umbraco add virtual directory name links , images.
Comments
Post a Comment