I take it you want to share the app/Resources folder and access the
different apps with subdomains?
Maybe you could use the .htaccess file to route subdomains to a different
app.php file which then links to a different AppKernel, AppCache, config
folder, console, etc which you'd have to put into a new folder.
--------------------------------
web/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_HOST} ^app1.*
RewriteRule ^(.*)$ app1_dev.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_HOST} ^app2.*
RewriteRule ^(.*)$ app2_dev.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app_dev.php [QSA,L]
</IfModule>
obviously change to app.php when in production
Just an idea, not sure if it would actually work.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en