[ZPT] img replace url

Calvin Hendryx-Parker calvin@sixfeetup.com
Tue, 09 Jul 2002 15:11:35 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have pin-pointed the problem finally.  There seems to be an issue with 
the Localizer product and ZPT.  Without Localizer installed my URLs to 
images work just fine and give me the full URL: 
http://blah.blah/something/myimage but after Localizer is installed it only 
gives me this when I render a replace structure: /something/myimage

I haven't looked into it much more than that, but I assume that it is 
messing with the absolute_url somehow in the render.  Can anyone shed any 
light on this?

Thanks,
Calvin

- --On Tuesday, July 9, 2002 11:47 -0700 Calvin Hendryx-Parker 
<calvin@sixfeetup.com> wrote:

> I tried using a virtual site monster instead of the Site Root and I get
> the exact same result.  Has anyone experienced this where is doesn't
> render the whole URL, but just /Something/mypic
>
> Thanks,
> Calvin
>
> --On Saturday, July 6, 2002 8:04 -0700 Calvin Hendryx-Parker
> <calvin@sixfeetup.com> wrote:
>
>> --On Saturday, July 6, 2002 1:03 -0300 Lalo Martins <lalo@laranja.org>
>> wrote:
>>> what exactly is your SiteRoot properties?
>>>
>>> I have this working on my personal site and many customer sites,
>>> including (in my personal site) multiple siteroots for wildcard DNS.
>>>
>>
>> I have a SiteRoot object in the root folder of the site and it has the
>> settings set to null and then in the properites of the folder I have
>> SiteRootBASE = "http://www.myserver.com" and SiteRootPATH = "". In the
>> proxy rules in apache I have ProxyPass / http://127.0.0.1:8080/mysite/
>> and I have a matching reverse instruction.  Am I missing something?
>>
>> When I do something like this I get the right URL:
>>
>> <img tal:attributes="src here/images/myimage/absolute_url" />
>>
>> but I have to include all of the attributes by hand that way and I would
>> rather do the tal:replace.
>
>
> --
> Six Feet Up, Taking your site to new heights
> Toll-Free: 1-866-SIX FEET | Cell:415-760-5038
> mailto:calvin@sixfeetup.com
> http://www.sixfeetup.com
> Refer a friend. Get $30.
>
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt
>



- -- 
Six Feet Up, Taking your site to new heights
Toll-Free: 1-866-SIX FEET | Cell:415-760-5038
mailto:calvin@sixfeetup.com
http://www.sixfeetup.com
Refer a friend. Get $30.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE9K1+b5GzBmIfOCw0RAif8AKDNN51+6fd9L71wiS8/EEsiZb2YJgCg+OvW
J/L+J6f3TZMpdurMARcObVM=
=qkz5
-----END PGP SIGNATURE-----