I can see 2 ways of doing this: 1. Outside symfony core - rewrite/.htaccess http://www.scriptygoddess.com/archives/2007/06/13/redirect-a-subdomain-to-a-directory-using-htaccess/
2. Use the symfony routing system: http://www.symfony-project.org/blog/2009/03/02/call-the-expert-adding-subdomain-requirements-to-routing-yml http://www.symfony-project.org/plugins/sfDomainRoutePlugin gabriel On Jul 28, 12:59 am, Nicolas Braquart <oki...@gmail.com> wrote: > Hello ! > > I would like to know if it's possible to redirect a subdomain (like > api.mydomain.com) to a module (supposed to be accessed with > mydomain.com/api) ? > I have already tried a few way to do it, but it didn't work. > > I have totally control on the server configuration and symfony > installation. > > Thanks -- 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 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