still learning about routes.

on a linux install with v2.3.2, python2.6 and this routes.py, with the admin
welcome, examples apps installed.

I modified the models/menu.py so that https is turned on,
by adding this at the top:

session.secure()
if not request.is_https:
    redirect('https://%s/%s' % (request.env.http_host, request.application))


then using this routes.py

# Example: support welcome, admin, app and myapp, with myapp the default:

routers = dict(

    # base router
    BASE=dict(
        default_application='examples',
    ),
)

when the domain page is loaded, I see the examples page and https is shown 
in the url path, but now  I don't see the
lock icon in the upper right hand corner of the page. What is controlling 
this?
Is it css or python controller/model file, or something else? What shuts 
this off?

When there is no routes.py, and the welcome page loads, I do see the lock 
icon
on the page, which allows me to view the certificate if I want.

How do I get the lock icon to appear on the default application with https 
enabled?

thanks

-- 

--- 
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/groups/opt_out.


Reply via email to