My server has the following directory structure
/srv
/www
/site.com
/symfonysite
/Other Drupal hosted site files
when I go to site.com
my drupal site opens up and I want to be able to access my symfony site on site.com/symfonysite
instead of site.com/symfonysite/web/app.php
I created an .htaccess file inside /symfonysite
shown below
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /billing/web
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
But this only gets rid of the app.php part, i.e. site.com/symfonysite/web
opens my symfony site and site.com/symfonysite
gives No route found for "GET /symfonysite/"
error.
What am I doing wrong?