lundi 23 novembre 2015

Render Ember.JS on Umbraco

I have two websites on a IIS Server:

Umbraco:

http://ift.tt/1NaOjQp

Ember:

http://ift.tt/1leTG6l

I would like to render the Ember content on the following url:

http://ift.tt/1NaOlrH

Q1-Is there an easy way to do that? I've created an empty template and put my index.html, js files an css files on umbraco. However, the calls to my web api didn't work.

So I've configured IIS Reverse Proxy pointing to http://ift.tt/1leTG6l to do that. It's working, however when I try to open the umbraco admin panel, it's rendering my ember app.

Ps1: I can't open the umbraco admin page until I comment all the rewrite rules on web.config. Doing that, the requests to webapi stop working.

Ps2: /umbraco is in the umbracoReservedPaths variable at web.config

I thought it was a problem with the regular expression pattern. So I've tried several different regex, but I could not fix that.

Q2-Do I need to use IIS Reverse Proxy or should I use another tool / IIS feature to do that?

Q3-Is there any special config on umbraco?




Aucun commentaire:

Enregistrer un commentaire