Sorry. I misunderstood.
create a file web2py/routes.py and in it write
routes_out=[('/admin/(?P<a>.*)','https://hostname/admin/\g<a>')]
where hostname is your hostname or ip address and port.
On Oct 29, 11:46 pm, akonsu <[email protected]> wrote:
> Massimo,
>
> thanks for taking time to explain.
>
> my question is not about running admin over https or http and how
> web2py detects this, or how to connect to admin using ssh. i was just
> wondering how to emit the correct url. right now the default hello
> world app emits relative url for the admin and the browser uses http
> for this url if the hello world application runs over http. i wanted
> to know how to force https for admin n the url. that is how to emit
> the absolute url with the right scheme prefix. or am i missing
> something?
>
> konstantin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---