Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Jonathan Lundell
On 3 Jul 2013, at 1:13 PM, Icham Achtir wrote: > thanks you. > > I mean an example of the pattern-based router. > Before I leave my office, I have try tu use the pattern-based router. > And i don't find the solution, for example when i request the url > mydomain/user1/myApp that work but when

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Icham Achtir
thanks you. I mean an example of the pattern-based router. Before I leave my office, I have try tu use the pattern-based router. And i don't find the solution, for example when i request the url mydomain/user1/myApp that work but when I click on home Home point to mydomain/user1/myApp/user1/myAp

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Jonathan Lundell
On 3 Jul 2013, at 12:38 PM, Icham Achtir wrote: > Thanks can you give my an example ? > > > For path_prefix, you mean? Just specify path_prefix = 'user1' in your router. The router will strip that from incoming URLs, so the rest of the URL can include an application. routers = dict( BA

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Icham Achtir
Thanks can you give my an example ? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://gr

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Jonathan Lundell
On 3 Jul 2013, at 8:08 AM, keiser1080 wrote: > and routes.py > > # -*- coding: utf-8 -*- > > # default_application, default_controller, default_function > # are used when the respective element is missing from the > # (possibly rewritten) incoming URL > # > default_application = 'init'# ordi

[web2py] routing problem nginx + uwsgi

2013-07-03 Thread keiser1080
Hi all, I need to configure a webserver with multiples web2py instances. Each instance is linked to a python virtualenv in home folder of each users (3 users) - I have no access to the dns and the proxy - and can't ask to modify the dns and webproxy - and can't install a local dns se