On 3 Jul 2013, at 12:38 PM, Icham Achtir <[email protected]> wrote:
> Thanks can you give my an example ?
>
>
>
For path_prefix, you mean? Just specify path_prefix = 'user1' in your router.
The router will strip that from incoming URLs, so the rest of the URL can
include an application.
routers = dict(
BASE = dict(
path_prefix = 'user1',
default_application = 'aut',
),
)
Specifying the default application as aut ought to let you get away with
incoming URLs that aren't prefixed by 'user1'.
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.