Hello all.

With an app my URL is my_domain.com/my_function . Perfect, I don't have the 
application name.

Website administration is made with another controller called admin.

When I call an admin function, there's the application name and controller 
in the url. my_domain.com/my_app/admin/my_function
Who cares.
In my admin menu where I call admin controller functions, I have also a 
voice for turning back to the default controller home page.
    ('Edit news', False, URL('admin', 'edit_news'), []),
    ('Turn back to website', False, URL('default', 'index'), []),

Turning back to the website URL is mydomain.com/my_name_application

How could I have only mydomain.com?

Here is my router:
routers = dict(
BASE = dict(
        domains = {
    "www.mydomain.com" : "my_app", 
}
),
my_app = dict(languages=['en', 'it'], default_language='it'),
)

-- 
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