Actually i'm using nginx with mod_proxy

This helped me with nginx for incoming requests:

rewrite  ^(.*)$  /domain_app_name$1  last;

but how to change "out" url generation to do not include
app name "domain_app_name" in all links?


On Nov 28, 6:48 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> You can but strongly suggest you use virtual hosts in apache +
> mod_wsgi + mod_rewrite. It will give you more flexibility in the long
> run.
>
> Massimo
>
> On Nov 28, 10:31 am, Alex <person...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > I want to run one web2py instance where each web2py application
> > will be mapped to different domain and with ability to map some urls
> > differently in different domains.
>
> > I tried to edit routes.py but without success.
>
> > Can anyone show examples of such routes.py?
>
> > Thanks.

--

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


Reply via email to