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
-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
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