Re: [web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Phyo Arkar
HTTPS is already used (port 443) for VPN Tunneling. On Fri, Oct 5, 2012 at 10:39 PM, Phyo Arkar wrote: > I want to do it in HTTP because we do not need HTTPS there. > > On Fri, Oct 5, 2012 at 8:53 PM, Roberto De Ioris wrote: > >> >> Il giorno 05/ott/2012, alle ore 16:19, Phyo Arkar < >> phyo.ark

Re: [web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Phyo Arkar
I want to do it in HTTP because we do not need HTTPS there. On Fri, Oct 5, 2012 at 8:53 PM, Roberto De Ioris wrote: > > Il giorno 05/ott/2012, alle ore 16:19, Phyo Arkar < > phyo.arkarl...@gmail.com> ha scritto: > > > Hello web2py > > > > i need to allow admin on web2py development machine , whi

Re: [web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Roberto De Ioris
Il giorno 05/ott/2012, alle ore 16:19, Phyo Arkar ha scritto: > Hello web2py > > i need to allow admin on web2py development machine , which we testing with > uwsgi enabled. It is needed to test over the internet coz our client is from > different country. > > We tried enabling by disabling

[web2py] allowing admin on UWSGI deployment , HTTP Mode

2012-10-05 Thread Phyo Arkar
Hello web2py i need to allow admin on web2py development machine , which we testing with uwsgi enabled. It is needed to test over the internet coz our client is from different country. We tried enabling by disabling following code inside if request.env.http_x_forwarded_for or request.is_https: