I'm using symfony in my local computer for programming. its address is
How can I change this address to
I mean removing
I'm using xampp, apache and symfony 2.6.
other addresses could be something like these:
http://localhost/RTL/web/app_dev.php/login => http://localhost/login http://localhost/RTL/web/app_dev.php/logout => http://localhost/logout http://localhost/RTL/web/app_dev.php/admin => http://localhost/admin
Accordingly to the comments.
The RTL/web is removed adding the directive
DocumentRoot "C:/xampp/htdocs/localhost/RTL/web"on your virtual host file in apache.
Then you can hide app.php using these apache mod_rewrite rules:
then restart apache server to apply the modifications.