Not quite.

If you are not using a proxy than web2py takes care of this
automatically. web2py detects https and admin will not work without.

If you are using a proxy web2py admin cannot detect https and thinks
it is running from localhost. There is no way to prevent admin from
going over http and that would unsafe. You need to disable admin and
access it only form local via ssh tunnel. You can do this by running
two web2py instances in the same folder. One being proxied and has no
parameters_<port>.py file (thus no admin) and one not proxied that has
a parameter_<port>.py file and is only accessed via tunnel.

You can read more here:
http://www.web2py.com/AlterEgo/default/show/68
http://www.web2py.com/AlterEgo/default/show/143

Massimo




On Oct 29, 10:52 pm, akonsu <ako...@gmail.com> wrote:
> On Oct 29, 11:41 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > Yes you can. read the routes.examples.py file.
>
> thanks, you are saying that rather than emitting the absolute url that
> includes https prefix in the markup i need to map the admin url to
> https in my routes, right?
>
> konstantin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to