I'd like to have three types of routings:

a) web2py.main_domain.com defaults to init, but you can choose the application with web2py.main_domain.com

b) testing.main_domain.com     leads to application: testing

c) development.main_domain.com leads to application: testing, controller:ticket and function: create_new

is this possible?

In the controller code, where do I see what domain is used to access the controller? If user goes to my application with user.domain.com where do I see the user.domain.com?


Kenneth

Reply via email to