I have an existing angular app, structured as follows
http://{mydomain} - Static html landing page
http://{mydomain}/app/... - angular app
I've installed Umbraco and replaced the landing page with a content page but http://{mydomain}/app/ seems to have been replace with Umbraco routing (404 not found).
We do not want Umbraco outside of the landing page for now (we may add some more content pages in the future)
So the question is, how do I navigate to my app and allow only angular routing and not Umbraco routing outside of the landing page.
There is an app setting in the web.config call UmbracoReservedPaths (or somthing close to it), it should contain a list of relative paths. Any path in this list will be ignored by the umbraco routing.
Umbraco and non-Umbraco routing
Probably been asked before, sorry.
I have an existing angular app, structured as follows
http://{mydomain} - Static html landing page http://{mydomain}/app/... - angular app
I've installed Umbraco and replaced the landing page with a content page but http://{mydomain}/app/ seems to have been replace with Umbraco routing (404 not found).
We do not want Umbraco outside of the landing page for now (we may add some more content pages in the future)
So the question is, how do I navigate to my app and allow only angular routing and not Umbraco routing outside of the landing page.
Thanks
Hey Martin
There is an app setting in the web.config call UmbracoReservedPaths (or somthing close to it), it should contain a list of relative paths. Any path in this list will be ignored by the umbraco routing.
Hi Martin
It looks like you need the same as here - https://our.umbraco.org/forum/using-umbraco-and-getting-started/87090-single-page-app-routing
Look for solution here:
https://stackoverflow.com/questions/12614072/how-do-i-configure-iis-for-url-rewriting-an-angularjs-application-in-html5-mode
Thanks,
Alex
is working on a reply...