gnump3d-users
[Top][All Lists]
Advanced

[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: Tue, 23 Jun 2009 14:18:30 -0400
User-agent: RoundCube Webmail/0.1b

Well, I managed to hack the gnump3d script and template of choice enough to get 
this to work.
It's ugly, but it will do. Sadly the script makes a lot of assumptions about 
serving out of
the root folder which made what I wanted to do more difficult that I really 
wanted.

On Thu, 18 Jun 2009 8:41:58 -0400, Michael Carpenter <address@hidden> wrote:
> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]