[Zope] ZOPE 2.3.0 and double slash in the URL

Steve Spicklemire steve@spvi.com
Thu, 22 Mar 2001 05:08:58 -0500 (EST)


Hi Marcello,

   Are you using a SiteRoot? if so.. what are your
BASE and PATH settings?

thanks,
-steve

>>>>> "ML" == Marcello Lupo <lupo@icmnet.net> writes:

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

    ML> This are my BASE and URL variables:

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

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

    ML> Have you any ideas??

    ML> Best regards.  Marcello

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

    ML> _______________________________________________ Zope maillist
    ML> - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope **
    ML> No cross posts or HTML encoding!  ** (Related lists -
    ML> http://lists.zope.org/mailman/listinfo/zope-announce
    ML> http://lists.zope.org/mailman/listinfo/zope-dev )