[Zope] ZOPE 2.3.0 and double slash in the URL

Marcello Lupo lupo@icmnet.net
Thu, 22 Mar 2001 10:18:22 +0100


Hello,
using ZOpe 2.3.0 i get everytime in the variable URL (0,1,2,3,ecc..) a
// between the base server name and the path.
I'm using Roxen 2.1.221 with PCGI.

This are my BASE and URL variables:

URL0   http://xxx.xxxxx.com//cgi-bin/zope/pg/gestione/check_user
URL1   http://xxx.xxxxx.com//cgi-bin/zope/pg/gestione
URL2   http://xxx.xxxxx.com//cgi-bin/zope/pg
URL3   http://xxx.xxxxx.com//cgi-bin/zope
URL4   http://xxx.xxxxx.com//cgi-bin
URL5   http://xxx.xxxxx.com/
BASE0  http://xxx.xxxxx.com//cgi-bin
BASE1  http://xxx.xxxxx.com//cgi-bin/zope
BASE2  http://xxx.xxxxx.com//cgi-bin/zope/pg
BASE3  http://xxx.xxxxx.com//cgi-bin/zope/pg/gestione
BASE4  http://xxx.xxxxx.com//cgi-bin/zope/pg/gestione/check_user

So when i set a cookie with the path='/cgi-bin/zope/' the cookie is not
sent if i use a redirect to URL or BASE.
The problem do not show when i try to access the resource directly from
zope port without PCGI.
I think the problem must reside in zope becouse on another server i user
the same version of roxen but Zope 2.1.6 and the URL and BASE are
correct.

Have you any ideas??

Best regards.
Marcello

-- 
----------------------------------------
Marcello Lupo            Project Manager
               Atis Srl
          Via dell'Artigliere 2
      37014 Castelnuovo del Garda (VR)
Tel. +39-0457570960 - Fax +39-0457571268
       E-mail: lupo@atisworld.com
        http://www.atisworld.com
-----------------------------------------