Evan Simpson wrote:
Lennart Regebro wrote:

I will check this into head this evening, and unless people scream tomorrow
I will check it into the 2.7 branch.


Please hold off. I've been meaning to revisit this for a while, and I have a bit of time to do so today and tomorrow. Also, virtual hosting is properly the domain of the request object, not the object being traversed. This is why the modified absolute_url() uses REQUEST.physicalPathToURL.


BTW:


I'm missing a REQUEST variable that represents the URL requested by the browser.

'PATH_INFO' doesn't show the virtual URL:
'/VirtualHostBase/http/example.org:80/VirtualHostRoot/_vh_test/path/to/object'

'URL' might be changed by __before_publishing_traverse__ or __browser_default__:
'http://example.org/test/path/to/object/index_html/view'


So I think it would be great if VHM would add a variable like 'REQUESTED_URL' (should have a better name) that isn't further modified on traversal.
'http://example.org/test/path/to/object'



Just my 2 cents.


Cheers,
        Yuppie



_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to