Andrew Smart wrote: >> -----Ursprüngliche Nachricht----- >> Von: [email protected] >> [mailto:[EMAIL PROTECTED] Im Auftrag von Ben Bangert >> Gesendet: Samstag, 24. November 2007 00:35 >> An: [email protected] >> Betreff: Re: Routes user survey >> >> On Nov 23, 2007, at 1:37 AM, Mike Orr wrote: >> >> I've already started work on Routes again. Additions to >> Routes should be slip-streamed into 1.x releases, or if >> enough of them stack up in one release, that could be a 2.0 candidate. > > I could contribute changes required to enhance the subdomain > support for recognizing other variables than HTTP_HOST.
If you use egg:PasteDeploy#prefix, it'll map HTTP_X_FORWARDED_HOST to HTTP_HOST. I think it's cleanest to fix up proxied environments to be accurate, rather than support all the individual options that proxies might use at the library level. For instance, it's not enough to just fix up routes to detect X-Forwarded-Host, you'd also have to fix up URL generation to use it, and there might be other parts as well (e.g., urlmap only looks at HTTP_HOST). -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
