Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-28 Thread Nathan Van Gheem
Looking at this a bit more So it seems that VIRTUAL_URL and ACTUAL_URL end up being exactly the same in this setup. Also, I'm looking at the tests in the repoze.vhm package, and it seems the only reason why the tests pass is because they are using an incorrect PATH_INFO. I'll try and setup an

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan Van Gheem wrote: > Seems like Hanno was on the right track here. > > is_view_template is not working correctly because the VIRTUAL_URL is not > getting set correctly in repoze.vhm. Basically, repoze.zope2 uses the > environ value of "repoze.vhm

Re: [Repoze-dev] repoze.vhm and repoze.zope2 odd behavior

2009-12-28 Thread Martin Aspeli
Hi Nathan, > So it seems that VIRTUAL_URL and ACTUAL_URL end up being exactly the > same in this setup. Yes, that's probably to be expected. ACTUAL_URL is basically "the URL the user sees". In a path based VHM setup, that's http://example.com when your internal URL is http://example.com/Virtua