[ZCM] [ZC] 158/ 2 Resolve "virtual host monster and root folder - extra / in URL"

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Fri, 15 Feb 2002 16:21:01 -0500


Issue #158 Update (Resolve) "virtual host monster and root folder - extra / in URL"
 Status Resolved, Zope/bug low
To followup, visit:
  http://collector.zope.org/Zope/158

==============================================================
= Resolve - Entry #2 by evan on Feb 15, 2002 4:20 pm

 Status: Pending => Resolved

This is fixed in the trunk and 2.5 branch.
________________________________________
= Request - Entry #1 by natsukashi on Jan 18, 2002 9:12 am

I have virtual host monster installed in the root folder. I also have a folder, named vfs, in the root folder. For testing purposes, I also placed a document test_html that returns the <dtml-var REQUEST> object.

The following url:

http://localhost:6080/VirtualHostBase/http/localhost:6080/vfs/VirtualHostRoot/_vh_zsr/test_html

returns the expected value for the REQUEST['URL']:

  http://localhost:6080/zsr/test_html

However, the following url:

http://localhost:6080/VirtualHostBase/http/localhost:6080/VirtualHostRoot/_vh_zsr/test_html

returns an unexpected value for the URL:

  http://localhost:6080//zsr/test_html

I would not expect the extra / before the zsr text.

I have been using this type of virtual hosting configuration for quite a while without any troubles.  It seems this behavior has changed recently within the last few days or so.

regards,

- joe n.







==============================================================