On Jan 17, 2008, at 2:19 AM, Andrew Smart wrote:

I had some trouble with the HTTP var which has been used to
identify the subdomain. In my configuration the subdomain must
be retrieved from HTTP_X_FORWARDED_HOST and not from HTTP_HOST.

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.

Ah, indeed, that can be fixed in the current Routes as well.

- Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to