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,
Shannon -jj Behrens wrote:
> 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_SERVE
I really like the paste.auth.cookie module, but I have a few questions:
1. This is less important, but why wasn't the old school Cookie module
used instead of constructing the cookie by hand?
2. I need to set the domain of the cookie, but there isn't a way.
This relates slightly to question 1. I
On 10/20/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Shannon -jj Behrens wrote:
> > 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 featu
Shannon -jj Behrens wrote:
> On 10/20/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
>> Shannon -jj Behrens wrote:
>> > 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 thi
On 10/20/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> Shannon -jj Behrens wrote:
> > On 10/20/06, Ian Bicking <[EMAIL PROTECTED]> wrote:
> >> Shannon -jj Behrens wrote:
> >> > Hi,
> >> >
> >> > I'm putting a Pylons application behind Apache by proxying it. That
> >> > means that when I call paste.