I have a directory called web in the root folder. In this directory there are 2 file called app.php and app_dev.php. (It come from symfony 2.5.5)
I would like to redirect user from root directory to /web/app.php If the user enter www.mywebsite.com/hello he has to be redicted to www.mywebsite.com/web/app.php/hello
and if it is possible, www.mywebsite.com/dev/test would redirect to www.mywebsite.com/web/app_dev.php/test
I think its possible with htaccess but I don't find how. Please help me.
PS: sorry for my bad english, it's not my native language.