[Zope] Solved: How to get the url without the domain...

Evan Simpson evan@4-am.com
Tue, 6 Mar 2001 23:08:52 -0600


From: "Jonothan Farr" <jfarr@real.com>
> Boy, that is pretty ugly. What if you move to a different port, or a
different
> host? All of your DTML breaks? I think I'd use the standard urlparse
module in
> an external method or PythonScript, if there isn't an even simpler way of
doing
> it.

I missed the start of the thread; Have you tried "absolute_url(1)"?

Cheers,

Evan @ digicool & 4-am