Have you tried using the new parameter-based routing system to map 
subdomains to different apps (see 
http://web2py.com/book/default/chapter/04#Parameter-Based-System)? If that 
doesn't work, maybe you can do it with the older pattern-based system (
http://web2py.com/book/default/chapter/04#Pattern-Based-System).

On Sunday, May 1, 2011 1:40:02 PM UTC-4, Alexandre Strzelewicz wrote:

> Hi, 
>
> I used  the script 'setup-web2py-nginx-uwsgi-ubuntu.sh' to configure 
> my server. 
>
> But now when I go to http://myserver.com, it automatically redirect me 
> to http://myserver.com/welcome 
>
> Now I want to configure apache to map  http://MYAPP.domain.com/ to 
> http://myserver.com/MYAPP. 
>
> So I think I have to use mod_alias, Im right ? 
>
> This doesnt work : 
>
> <VirtualHost *:80> 
>              ServerName MYAPP.domain.com 
>              Alias / /MYAPP 
> </VirtualHost> 
>
> Thank you

Reply via email to