write a filter on the requested hostname ? kr, Jan
dtwist schreef: > Hi Dagger, > > I'm brand new to Symfony, so I can't speak to any ingrained abilities > it has with regards to subdomains (for instance, would routing > help?). I can offer two things though: > > One, my own experience: We have developed a custom MVC platform that > (using apache's mod_rewrite) handles subdomains as an argument for the > main controller. This works quite well, and it's very easy for us to > add subdomains. If we needed to create them on the fly, we could use > wildcard DNS to help out there. (We have other reasons for not doing > so.) > > That said, the above solution DID take a ton of work to get right and > to get to the point where subdomains are now painless for us. See > another developer's experience for a contrast: > > http://particletree.com/notebook/subdomains-development-sucks/ > > Kevin makes good points (ones we also had to overcome). Basically, > subdomains = more work. In my view it depends on the requirements of > the project. > > Cheers, > David > > On Sep 21, 5:28 am, dagger <strategy.vs.lo...@gmail.com> wrote: > >> Hi >> >> I wanted to know if generatingsubdomainson the fly is possible ? >> e.g. a user specifies a username and submits the form and on the >> server side the controller creates the subdomain based on the username >> - dagger.mysite.com ? >> >> and if dagger.mysite.com is any better then mysite.com/dagger ? >> >> thanks >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 -~----------~----~----~----~------~----~------~--~---