Hi,

I'm putting a Pylons application behind Apache by proxying it.  That
means that when I call paste.request.construct_url, it returns a URL
for localhost.  I think it's a useful and harmless feature to have
Paste automatically respect HTTP_X_FORWARDED_SERVER if present.  I did
this in Aquarium, and no user ever complained about it.  Rather, it's
nice to have the application "just work" even if it's behind a proxy.

Ian, if you're interested, I'll submit a patch.

Best Regards,
-jj

-- 
The one who gets the last laugh isn't the one who did the laughing,
but rather the one who did the writing.

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to