Would it be feasible to create a subdomain for each blog?

Mohammad Ali Safari wrote:
> Hi
> Routing configuration is for understanding and parsing a given URL.
> My problem is when generating all these URLs in my links/forms/etc. how 
> can I make sure the /weblog-name is appeared at the beginning of every URL?
> 
> cheers
> 
> --Mohammad
> 
> On Sun, Jul 13, 2008 at 2:53 PM, Cece <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>      > I have a weblog system in which the weblog name needs to be kept
>     in every
>      > single URL all around the application.
>      > Ideally, I would like very URL look like http://server/weblogname/...
>      > Is there an easy way to do this?
>      >
>      > For example, should I rewrite link_to and similar functions?
> 
>     You shouldn't. You can do that by routing configuration:
>     
> http://www.symfony-project.org/book/1_1/09-Links-and-the-Routing-System#Routing%20Configuration
> 
>     Szabolcs Heilig
> 
> 
> 
> 
> > 

-- 
Tom Haskins-Vaughan
Temple Street Media: Design and Development for the Web
[EMAIL PROTECTED] | www.templestreetmedia.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to