Mike Orr wrote: > On Jan 17, 2008 12:19 PM, Ian Bicking <[EMAIL PROTECTED]> wrote: >> Andrew Smart wrote: >>> Ian wrote something about egg:PasteDeploy#prefix which I haven't >>> investigated due to time restrictions on my side, but I'm not >>> sure if this would help in the routes area. To make it short: >>> routes just looks at HTTP_HOST, but in a Apache mod_proxy >>> environment the relevant subdomain is not found there but in >>> HTTP_X_FORWARDED_HOST. >> PasteDeploy#prefix will fix this, making the Host header (HTTP_HOST) >> correct, and avoiding any ambiguity by removing HTTP_X_FORWARDED_HEADER >> at the same time. > > Will fix this when? Pylons should probably depend on that version.
I thought this was in a release, but apparently not. It's been in the trunk a while. It has translated X-Forwarded-Server to Host for a while, but X-Forwarded-Host has only been supported for a little while. Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en -~----------~----~----~----~------~----~------~--~---
