{"action":"created","issue":{"url":"https://api.github.com/repos/bluedynamics/bda.plone.payment/issues/3","labels_url":"https://api.github.com/repos/bluedynamics/bda.plone.payment/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bluedynamics/bda.plone.payment/issues/3/comments","events_url":"https://api.github.com/repos/bluedynamics/bda.plone.payment/issues/3/events","html_url":"https://github.com/bluedynamics/bda.plone.payment/issues/3","id":62994445,"number":3,"title":"Possible problem with VHM and six_payment example","user":{"login":"marfago","id":1191501,"avatar_url":"https://avatars.githubusercontent.com/u/1191501?v=3","gravatar_id":"","url":"https://api.github.com/users/marfago","html_url":"https://github.com/marfago","followers_url":"https://api.github.com/users/marfago/followers","following_url":"https://api.github.com/users/marfago/following{/other_user}","gists_url":"https://api.github.com/users/marfago/gists{/gist_id}","starred_url":"https://api.github.com/users/marfago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marfago/subscriptions","organizations_url":"https://api.github.com/users/marfago/orgs","repos_url":"https://api.github.com/users/marfago/repos","events_url":"https://api.github.com/users/marfago/events{/privacy}","received_events_url":"https://api.github.com/users/marfago/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T13:54:10Z","updated_at":"2015-03-22T12:04:55Z","closed_at":null,"body":"Hi,\r\n\r\nMy current installation uses a virtual host monster approach in order to rewrite the incoming requests from the outside form to the locally managed form, i.e. from www.mysite.com to localhost:myport/mysite.\r\nWhile using the the internal URLs all works fine and I can see the test page from the bank for the online payment process, when accessing the site through VHM the host in the link returned by the bank is replaced with mysite host, i.e. \r\nwww.mybank.com/xxxx?paymentId=yyyy becomes www.mysite.com/xxxx?paymentId=yyyy. \r\n\r\nIm pretty sure it is due to the VHM replacement logic which simply replaces blindly the host part in the URL with the site host. \r\n\r\nIs there anyway to workaround this issue (f.i. disabling vhm for such an URL or using alternatives to zExceptions.Redirect)? "},"comment":{"url":"https://api.github.com/repos/bluedynamics/bda.plone.payment/issues/comments/84593104","html_url":"https://github.com/bluedynamics/bda.plone.payment/issues/3#issuecomment-84593104","issue_url":"https://api.github.com/repos/bluedynamics/bda.plone.payment/issues/3","id":84593104,"user":{"login":"rnixx","id":246021,"avatar_url":"https://avatars.githubusercontent.com/u/246021?v=3","gravatar_id":"","url":"https://api.github.com/users/rnixx","html_url":"https://github.com/rnixx","followers_url":"https://api.github.com/users/rnixx/followers","following_url":"https://api.github.com/users/rnixx/following{/other_user}","gists_url":"https://api.github.com/users/rnixx/gists{/gist_id}","starred_url":"https://api.github.com/users/rnixx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnixx/subscriptions","organizations_url":"https://api.github.com/users/rnixx/orgs","repos_url":"https://api.github.com/users/rnixx/repos","events_url":"https://api.github.com/users/rnixx/events{/privacy}","received_events_url":"https://api.github.com/users/rnixx/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T12:04:55Z","updated_at":"2015-03-22T12:04:55Z","body":"Why not using nginx for virtual hosting?"}}