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 and I want to have access to my symfony site on site.com/symfonysiteinsteadsite.com/symfonysite/web/app.php
I created the .htaccess file inside /symfonysiteshown below
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /billing/web
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
But this only eliminates the part of app.php, i.e. site.com/symfonysite/webopens my symfony site and site.com/symfonysitegives an error No route found for "GET /symfonysite/".
What am I doing wrong?
source
share