[resolved] multiple websites on the same symfony2 base ?

This forum is for non code-based questions, best practises, IDEs, version control tools, work opportunities, etc.

Moderators: dwhittle, Ian

[resolved] multiple websites on the same symfony2 base ?

Postby kalikey » Sat Sep 24, 2011 8:40 am

Hello,

I have a tiny webhost.

So, I was wondering if it would be a bad idea or not, to use a single Symfony2 distrib to run several and distinct websites in separate namespaces/bundles, or with different app/ directories to kepp logs and other things apart ?

With one front controller for each site in different subdirectories in web/, and a vhost pointing on each.

Thanks for your answers.
Last edited by kalikey on Fri Oct 07, 2011 12:45 pm, edited 1 time in total.
kalikey
Junior Member
 
Posts: 2
Joined: Sat Sep 24, 2011 8:11 am

Re: multiple websites on the same symfony2 base ?

Postby zoodler » Wed Sep 28, 2011 6:43 pm

Hello,

it's a good idea.

in my projects I use this structure:
Code: Select all
/path/sites/site1
  app/
  bin/
  web/
  src/
  vendor/ -> /path/vendor/Symfony_2.0.3/vendor (symbolic links)
/path/sites/site2
  app/
  bin/
  web/
  src/
  vendor/ -> /path/vendor/Symfony_2.0.3/vendor (symbolic links)
/path/vendor/Symfony_2.0.3/vendor
zoodler
Junior Member
 
Posts: 1
Joined: Fri Sep 23, 2011 6:36 pm

Re: multiple websites on the same symfony2 base ?

Postby kalikey » Fri Oct 07, 2011 12:44 pm

Thank you ;)
kalikey
Junior Member
 
Posts: 2
Joined: Sat Sep 24, 2011 8:11 am

Re: [resolved] multiple websites on the same symfony2 base ?

Postby CantrellOsborn » Mon Nov 07, 2011 8:27 am

This code is really very helpful and does not require any further modification's to use.


transmission flush cost
CantrellOsborn
Junior Member
 
Posts: 1
Joined: Mon Nov 07, 2011 8:19 am
Location: 1945 Sundance Ln #314, Costa Mesa, CA 92627


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 2 guests