For My App added in routes.py:
http://web2py.com/book/default/chapter/04
routes_in = (
('/admin/$anything', '/admin/$anything'),
('/static/$anything', '/MyApp/static/$anything'),
('/appadmin/$anything', '/MyApp/appadmin/$anything'),
('/favicon.ico', '/MyApp/static/favicon.ico'),
('/robots.txt', '/MyApp/static/robots.txt'),
('/$c/$f/$anything', '/MyApp/$c/$f/$anything'),
#('/(?P<any>.*)', '/MyApp/\g<any>'),
)
routes_out = (
('/admin/$anything', '/admin/$anything'),
('/MyApp/static/$anything', '/static/$anything'),
('/MyApp/appadmin/$anything', '/appadmin/$anything'),
('/MyApp/static/favicon.ico', '/favicon.ico' ),
('/MyApp/static/robots.txt', '/robots.txt' ),
('/MyApp/$c/$f/$anything', '/$c/$f/$anything'),
#('/MyApp/\g<any>', '/(?P<any>.*)'),
)
MyApp is the welcome example generated from the wizard.
When I click on Login the link is:
http://192.168.1.66:8000/MyApp/default/user/login?_next=/MyApp/default/index<http://192.168.1.66:8000/LinkMyNetwork/default/user/login?_next=/LinkMyNetwork/default/index>
e.g. MyApp is still in the generated links or in other words cannot get
rid from application prefix.