in routes.py
routes_out=(('/domain_app_name/$anything','$anything'),)
On Nov 28, 11:08 am, Alex <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> 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 [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.