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 <robe...@unbit.it> 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 , 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:
> >     session.secure()
> > elif not request.is_local and not DEMO_MODE:
> >     raise HTTP(200, T('Admin is disabled because insecure channel'))
> >
> >
> > but it ends up to the login page .. WITHOUT Password box , Damn..
> >
> > What to do?
>
> From 1.3 (latest stable) you can use https in uWSGI too:
>
> http://projects.unbit.it/uwsgi/wiki/HTTPserver#HTTPSsupportfrom1.3-dev
>
> --
> Roberto De Ioris
> http://unbit.it
> JID: robe...@jabber.unbit.it
>
> --
>
>
>
>

-- 



Reply via email to