Esteve <eavilesa(a)gmail.com> wrote, in response to Vineet Reynolds:
Vineet,
Angular documentation states that html5 mode requires server side configuration:
http://docs.angularjs.org/guide/dev_guide.services.$location
"Server side
Using this mode requires URL rewriting on server side, basically you have to rewrite all
your links to entry point of your application (e.g. index.html)"
If no server configuration enabled when you request a RESTful url (without angularjs
links) you get a HTTP 404 page not found, obviously.
I think the solution would be enabling a url rewrite servlet for all http requests to the
/index.html.
I will try it.
Thanks in advance.
Regards,
Esteve
IP address: 213.0.57.3
Link to comment:
http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fquickst...
Vineet Reynolds wrote:
Esteve, could you please expand on this issue you've faced? HTML5 mode for AngularJS
routers is dependent on the browser's capability. This mode would work for some
browsers but not for all. Going by the AngularJS documentation here:
http://docs.angularjs.org/guide/dev_guide.services.$location , you should see the hashbang
URLs employed for older browsers, but the RESTful URLs in newer ones.
-----
Options: You can moderate through email. Respond in the body with "Delete".
Reply with "Like" to like this comment, or respond with anything else to approve
this comment and post your message as a reply comment.
Or use the moderate panel:
http://jdf.disqus.com/admin/moderate/#/pending
Stop receiving notifications when new comments are posted:
http://disqus.com/account/#notifications