[Zope] Tunneling URL hell.

Blaise Laflamme blaise@laflamme.org
Tue, 5 Feb 2002 12:55:34 -0500


I have a setup with rewriting rules and ProxyPass rules to serve static 
images and serve different part of a site. I use a VirtualHostMonster 
and with Page Templates my URLs looks like:

<a tal:attributes="href here/example.pt/absolute_url" 
src="example.pt">Example</a>
<img tal:attributes="src here/static/images/example.gif/absolute_url" 
src="static/images/example.gif">

It works fine.

Blaise Laflamme

> Message: 2
> Date: Tue, 05 Feb 2002 17:01:48 +0000
> From: Chris Withers <chrisw@nipltd.com>
> Organization: New Information Paradigms
> To: Howard Hansen <howardh@halfmagic.com>
> CC: zope@zope.org
> Subject: Re: [Zope] Tunneling URL hell.
>
> Howard Hansen wrote:
>>
>> My sites are sitting behind apache with URL rewriting turned on, and my
>> REQUEST paths include the /ab/wa prefix.  I've seen that others have 
>> had
>> this problem, but I haven't seen anyone with a solution.  I'd prefer 
>> not to
>> have to turn all of my links into absolute URLs.
>
> Why?
>
> <a href="&dtml.url-something;">Go here</a>
>
> ...works for me :-)
>
> cheers,
>
> Chris