I brought this very same question up 2 days ago.  Check out the  
Symfonians filter source - it has what you need.

http://groups.google.com/group/symfony-users/browse_thread/thread/b4852fffe4c0106c/7bb1d8d550d90307?show_docid=7bb1d8d550d90307

On Jul 3, 2008, at 12:20 PM, Damien wrote:

>
> Hi!
>
> I have a website built with symfony, organized with categories. I
> would like to have a subdomain for each category. For example:
>
> mymcategory.mywebsite.com
>
> I made my subdomain and catch it in my apache webserver, but I don't
> know how to make it available in my website.
> I tought to build a new route in my routing.yml like:
>
> subdomain:
>  host: mycategory.mywebsite.com
>  url:    /
>  param: {module: category, action: show, name: mycategory}
>
> It doesn't work. Should I use it or make a filter ? But I don't know
> how to make this type of filter.
>
> I hope you will be able to help me.
>
> Thank you
>
> Damien Gougeon
> >

--
Jacob Coby
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to