With the location: ‘history’ option, it seems we have two limitations:
We have to specify the ‘rootURL’ in router as the hardcoded context path of the app - there may be alternatives like finding the URL fragment from window.location.href to find the context path or if you use JSP, find pageContext.contextPath, but why is this needed by this feature in first place or is there an alternative? Otherwise, it does not seem to recognise the index route of the app itself.
Every other route other than the index router taken by the app when using this location: ‘history’ option, results in a URL like http://host:port/app_name/route where this URL appears in browser, but this URL on refresh results in a 404. So if this URL is accidentally bookmarked by end user, it may later show a 404. Am I missing something here, for all these tests, (I use RC 1 in my local dev box)? But I have a sample here that is supposedly built with ember RC 3.
Looking for some pointers/guidance from the forum members,