[Zope] where port num gone

Hannu Krosing hannu@tm.ee
Sun, 12 Mar 2000 19:20:07 +0200


Andy Heath wrote:
> 
> I have this
> 
> root
>     ltscimages
>         someimage
>     somefolder
>         somedtlmdoc
> 
> and I'm running both apache and zope.  Some pages
> get served zope-->apache and some direct from zope.
> ZServer is running on 8080.
> 
> Within somedtmldoc I want an image from ltscimages.
> This code
> 
> <dtml-var "ltscimages.someimage">
> 
> produces a reference
> to the image but without the port number.
> 
> In the ouput html I want
> 
> http://host:8080/ltecimages/someimage
> 
> but I get
> 
> http://host/ltscimages/someimage

IIRC the logic that puts in BASE tags ignores the port number.

It was a simple change (removing an if section) somewhere to fix it.

I did it in old bobo-based app so it may have changed by now.

---------------
Hannu