I read this post and wondered whether there are other solutions to solve 
this problem.

https://groups.google.com/forum/?fromgroups#!topic/web2py/K4SteYdwVX4


My applications real address is:

mydomain.com/init/default/index

<domain>/<application>/<controller>/<function>/

What I would like is to redirect mydomain.com/#!/<shortname> to a router 
function which:

- queries the database for the user's nodeID
- determines what kind of account a user has
- and then redirect to one of the following functions:

mydomain/init/addressbook/vcard/<nodeID>
mydomain/init/site/index/<nodeID>
mydomain/init/hub/index/<nodeID>

Is there a way to get this to work in Web2py?


Kind regards,

Annet

Reply via email to