-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reloading problem #3
Comments
Thanks. I know it. 7d9fb35#diff-8052c42ab3b8aa06a3f5f788a4ddccc2L212 Need to find another solution. |
You are right (i also was pretty sure that "you" know this but newcomers maybe don't) |
I added a wiki solution |
With option 2nd where to replace content in index.html to 404.html, url in menu still refer to "http://localhost/post/published" when it should be "http://localhost/angular-yii2/post/published", and when I put URL manually to it, I got 404 error from apache. There is something to do in 'app.js' to fix this? Thank you |
if your code located in subfolder then you should set
|
it would be helpful for newcomers (like me) to angularjs that to fix the 404 reloading problem you have to create a .htaccess file to redirect all requests e.g. /post/2 back to the index.html so that the browser reloading works.
The text was updated successfully, but these errors were encountered: