javascript - Removing the # from angularJS routing make application stop working -


i tried remove # angular application.

i have followed steps in different forum.

angularjs routing, remove # url

i have set below configuration.

$locationprovider.html5mode({   enabled: true,   requirebase: false });  <head>   <base href="/">   ... </head> 

the application working expected if give http://localhost/ if try refresh or give complete url http://localhost/mypage/test.html not working routing , giving me 404. working #

http://localhost/#/mypage/test.html working fine.

i using chrome 51 idea happening?


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -