Angular documentation states that html5 mode requires server side configuration: http://docs.angularjs.org/guid... "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.
Esteve
Vineet,
Angular documentation states that html5 mode requires server side configuration:
http://docs.angularjs.org/guid...
"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
2:32 a.m., Thursday Oct. 3
Moderate this comment by email
Email address: eavilesa@gmail.com | IP address: 213.0.57.3
Reply to this email with “Delete”, “Approve”, or “Spam”, or moderate from the Disqus moderation panel.