mindlace wrote:

> What I think you need to do is use SiteAccess so that it strips out the
> port.  You can use an access rule like so:
> <dtml-let basename="_.string.join(_.string.split(HTTP_HOST,
> ':')[-2:-1])">
>   <dtml-call "REQUEST.set('SiteRootBASE','http://'+basename)">
> </dtml-let>

You may have to change the string.split if the subdomain is important.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to