At the moment, on one host there is a structure symfony2.domain.com
( / var / www / symfony2 ) - a route for a working symphony 2 of the project domain.com
( /var/www/domain.com ) - a site on another platform.
The task is to make Symphony available over domain.com/symfony2
with no redirect (the subdomain will be closed)
While the simplest but crooked idea in the implementation is to organize the directory structure / var / www / symfony2 / site / base (transfer the web to the base) In Apache DocumentRoot, install to / var / www / symfony2 / site and then still have to ignore the git site directory except base
Is it possible to do this without destroying the file system structure?