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

2005-07-15 Thread Albertas Agejevas
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.

Albertas
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



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

2005-07-15 Thread Dmitry Vasiliev

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
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com