ZOPE 2.3.0 and double slash in the URL
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 -----------------------------------------
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 )
Hi, no i'm not using a SiteRoot. Thank you Marcello Steve Spicklemire wrote:
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 )
-- ---------------------------------------- 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 -----------------------------------------
"ML" == Marcello Lupo <lupo@icmnet.net> writes:
ML> Hi, no i'm not using a SiteRoot. Thank you Marcello Hmm.. but you *are* using pcgi. What web server are you using to call pcgi? Are you doing 'Rewrite's in Apache? If so.. can you share your apache config (esp. the rewrite rules you are using?) -steve ML> Steve Spicklemire wrote: >> 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 ) 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 )
No... like i wrote before i use PCGI with Roxen 2.1.221 without any rewrite rules. Thanks, Marcello Steve Spicklemire wrote:
"ML" == Marcello Lupo <lupo@icmnet.net> writes:
ML> Hi, no i'm not using a SiteRoot. Thank you Marcello
Hmm.. but you *are* using pcgi. What web server are you using to call pcgi? Are you doing 'Rewrite's in Apache? If so.. can you share your apache config (esp. the rewrite rules you are using?)
-steve
ML> Steve Spicklemire wrote: >> 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 )
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 )
-- ---------------------------------------- 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 -----------------------------------------
participants (2)
-
Marcello Lupo -
Steve Spicklemire