I'm using symfony in my local computer for programming. its address is http://localhost/RTL/web/app_dev.php/secure_area.
How can I change this address to http://localhost/secure_area?
I mean removing RTL/web/app_dev.php.
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
DocumentRoot "C:/xampp/htdocs/localhost/RTL/web"on your virtual host. PS: is a common (and best) pratice to take the application folders out of the web root.