When you say you have a bunch of subdomains do you mean a few more
than the three you listed below, or potentially hundreds?

If it's just the three then you might want to create a different
environment for each of them with a corresponding 'dev' environment -
e.g. one and one-dev, two and two-dev, three and three-dev and switch
between them according to what's in $_SERVER['SERVER_NAME'] (which
should contain one.mysite.com, two.mysite.com etc.).

Alternatively reconsider whether you *really* need separate databases
and take a look at 
http://www.symfony-project.org/more-with-symfony/1_4/en/02-Advanced-Routing.

cheers,

Tony.

On Feb 18, 5:07 am, nick <l...@teamlalala.com> wrote:
> I know this question comes up a lot, but I'm having trouble tracking
> down the info I need. I'd like to have a bunch of sub-domains:
>
> one.mysite.com
>
> two.mysite.com
>
> three.mysite.com
>
> They all live on the same server.
>
> I'd like for them all to have different databases, but to share the
> "lib" and "apps" folders. Can anyone point me to a tutorial on this?

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to