I have made changes to my settings.yml and security.yml in both frontend and backend.
When I tried to visit localhost/frontend_dev.php, it looks fine and after login, it directs me to my homepage.
When I tried to visit localhost/, the login is not successful saying:
The requested URL /guard/login was not found on this server.
I checked the source code and noticed:
- Code: Select all
<form action="/guard/login" method="post">
I have tried doctrine:build --all --and-load and cc already.
The backend seems fine in dev and prod environment.