>
> Thanks for pointing me in the right direction for the docs. URL 
> rewrite was the next thing I was going to be looking for since right 
> now we're exposing the user pages from default/user/account etc. I 
> wanted to omit the /default/ but I haven't gotten around to that point 
> yet. I'm sure you've saved me a bit of time by pointing that out to 
> me. Thanks for that.


Should be simple -- in /web2py/routes.py, something like:

routers = dict(
    BASE = dict(
        default_application = 'yourapp',
        default_controller = 'default',
        default_function = 'index',
        root_static = ['robots.txt', 'favicon.ico', 'crossdomain.xml'],
        map_hyphen = True
    ),
)

Anthony

Reply via email to