Isn't the idea with url() to give you an absolut url?
On 12/27/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
>
> On 27 Dec 2005 13:07:48 -0200, Jorge Godoy <[EMAIL PROTECTED]> wrote:
> >
> > Kevin Dangoor <[EMAIL PROTECTED]> writes:
> >
> > > Assuming we're thinking of the same thing, those problems were caused
> > > by server.webpath not being computed or added to the URL properly. I
> > > believe that's been fixed... that may actually be the best solution to
> > > this particular question as well: if Lion sets the server.webpath
> > > variable that should appear at the beginning of the URL.
> >
> > The problema was having something like
> > "http://localhost:8080/http://some.thing.com/" as the result of the
> > expansion
> > on the URL. (Ticket #179 -
> > http://trac.turbogears.org/turbogears/ticket/179)
>
> Ahh... That is basically the same thing. Did you try server.webpath?
>
> We should be able to change turbogears.url to include the server info
> from cherrypy (that Elvelind mentioned) if there's no server.webpath
> set and you request an absolute url (something starting with "/").
>
> Kevin
>
--
cheers
elvelind grandin