Hi...

try this:
request.is_local=True
in 
web2py\applications\admin\models\access.py  (on line 21) resp. before  this 
code:

*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'))*


ml

Dne neděle, 20. dubna 2014 20:52:28 UTC+2 Pawan Gupta napsal(a):
>
> Hi Everyone
>
> We are having serious problem with our website 911india.com. We have 
> hosted it on Amazon EC2 server and there is a ticket that is issued which 
> redirects us to the admin interface that shows "Admin is disabled because 
> insecure channel" 
>
> I tried searching on the website but nothing seems to make sense probably 
> because we are somewhat beginners. 
>
> Can someone please help us with what could be done to resolve this.
>
>
> Cheers
>
> Pawan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to