I've done that with an Apache front end using ProxyPass and
ProxyPassReverse, there may be an easier way in web2py however.
<VirtualHost *:80>
ServerName hello.example.com
ProxyPass / http://127.0.0.1:8009/init/default/action/hello
ProxyPassReverse / http://127.0.0.1:8009/init/default/action/hello
</VirtualHost>
or something similiar.... (The above was actually taken from how I have
redmine set up not web2py)
On Wed, Mar 24, 2010 at 7: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]<web2py%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>
--
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.