I missed your email. Sorry. You can do it with routes

routes_in = [
('.*:https?://hello.example.com:(get|post) /', 'example.com/init/
default/action/hello')
('.*:https?://goodbye.example.com:(get|post) /', 'example.com/init/
default/action/goodbye')
]

.* means from every client ip
https? means both http and https
(get|post) means get and post requests
/ is the path you are mapping



On Mar 24, 9:19 pm, Jon Romero <[email protected]> wrote:
> Even though I've read a post here about subdomains, I can't make it
> work.
>
> what I really need is this
> hello.example.com -> example.com/init/default/action/hello
> goodbye.example.com -> example.com/init/default/action/goodbye
>
> it it doable?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to