Ok, I've created my own solution with regular expression. But the
problem is, when I'm trying to get the existing URL with url_for(),
it's just returns the relative url: "/", but I need to get the full
url, like http://mydomain.com. How can I get this url?

On Jun 23, 2:25 pm, Nico Nicolic <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know that it's possible to generate links to the subdomains with
> using url_for function. Ex: url_for(sub_domain='mysubdomain' ) etc.
> But now I need to link to my domain names like mydomain.co.uk/com.au/
> de... Is there any solution for this or do I need to create my own?
>
> Thanks

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

Reply via email to