I have a symfony 6 application. I used symfony server for development(I regret it now) because I was "recommended". I use xampp so I go to the public (http://localhost:8080/projects/mag6/public/) folder and it goes to the (/) route. But if I go to other routes /login (http://localhost:8080/login) routes it doesn't work. With symfony server I works http://127.0.0.1:8000/ goes to (/) route and http://127.0.0.1:8000/login goes to (login) route. I thought it would be easy to configure the since the symfony is a huge community but I was wrong. I cant find the answer i am looking for on the internet.
Asked
Active
Viewed 525 times
0
-
What type of server are you using? – Julien B. May 28 '22 at 00:33
-
try `composer require symfony/apache-pack` – Julien B. May 29 '22 at 01:26
-
I am using xampp, and have tried thapache-pack but no success – Azay Karimli May 30 '22 at 13:34
-
composer require symfony/apache-pack installs .htaccess file inside the public folder but the behavior of the file system hasn't changed at all. – Azay Karimli May 30 '22 at 14:26