[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnump3d-users] Re: Proxy + X-Forwarded-For
From: |
Michael Carpenter |
Subject: |
[Gnump3d-users] Re: Proxy + X-Forwarded-For |
Date: |
Thu, 18 Jun 2009 8:41:58 -0400 |
User-agent: |
RoundCube Webmail/0.1b |
Not sure if this made it to the list since I sent it before I got the
confirmation email...
On Wed, 17 Jun 2009 12:40:35 -0400, Michael Carpenter <address@hidden> wrote:
> Hi,
>
> I'd like to configure gnump3d so that I can use apache to proxy my
> requests. Instead of opening an extra port on my firewall I would like to
> just do the following:
>
> ProxyPass /music/ http://localhost:8888/
> ProxyPassReverse /music/ http://localhost:8888/
>
> The first problem I ran in to was the links... but it was easy enough to
> modify the templates to use the correct address.
>
> The problem now is that since the proxy is sending 'Host' as 127.0.0.1,
> and then sending the original requestor as the X-Forwarded-For header. I
> don't want to add 127.0.0.1 to my allowed-users, since this would
> effectively let anyone access the site through the proxy.
>
> Any suggestions?
>
> Michael