I'm trying to set up Parse hosting (which is based on node.js) to handle certain URLs by returning a specific static file. This is to make it work with Ember.js history based routing (http://emberjs.com/guides/routing/specifying-the-location-api/).
So for example: I want all the following URLs to load the root index.html
without doing a 301 redirect:
domain.com/search
domain.com/about
domain.com/some-other-route
This is easily doable in an Apache .htaccess rewrite rule. Is there something similar I can use with Parse hosting? Or do I have to write my own code that handles those URLs and return the file I want somehow?
Let me know if my description is not clear and I'll try to add more details.