[Zope3-dev] Resource URL's and virtual hosting

Dmitry Vasiliev lists at hlabs.spb.ru
Fri Jul 15 07:51:29 EDT 2005


Albertas Agejevas wrote:
> On Fri, Jul 15, 2005 at 03:01:11PM +0400, Dmitry Vasiliev wrote:
> 
>>Then if you go to 
>>'http://localhost:8080/test/++vh++http:localhost:8080/test/++/restest.html'
>>you'll see 'http://localhost:8080/test/@@/images' although expected result 
>>is 'http://localhost:8080/@@/images'.
>>
>>Is it a bug or maybe I'm wrong?
> 
> 
> If you want to get http://localhost:8080/@@/images, you should go to
> http://localhost:8080/test/++vh++http:localhost:8080/++/restest.html
> AFAIK.  The path between the plusses is the URL you want your
> virtual host to have.

Ahh, my bad. I've guessed the path between the pluses is a part of the URL 
which will be suppressed for the virtual host path.

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru


More information about the Zope3-dev mailing list