Thank you for your answers.

Jacob, I saw your post, but I don't know how to redirect to a category
in my filter. I can not do a redirect() like in an action.
Moreover, I would like all my category links to be rewritten in order
to link to my subdomains, should I use the routing.yml? It is not
simple!

Damien

On 4 juil, 04:52, Jacob Coby <[EMAIL PROTECTED]> wrote:
> 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/b48...
>
> 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] Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -
--~--~---------~--~----~------------~-------~--~----~
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