[web2py] routing problem

2014-06-05 Thread JĂșlia Rizza
Hello everybody, I have an app with app specific routes and I have a function that allows any user to see a project by passing the project's owner username and the project's slug as args. I want the user to access the project just by www.domain.com/username/slug, not showing the function

[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

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Jonathan Lundell
On 3 Jul 2013, at 8:08 AM, keiser1080 iach...@gmail.com 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'

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

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Jonathan Lundell
On 3 Jul 2013, at 12:38 PM, Icham Achtir iach...@gmail.com 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 =

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

Re: [web2py] routing problem nginx + uwsgi

2013-07-03 Thread Jonathan Lundell
On 3 Jul 2013, at 1:13 PM, Icham Achtir iach...@gmail.com 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

[web2py] routing problem using two routes.py

2013-02-21 Thread greaneym
Hello, using web2py v2.0.8 on a linux server. My server hosting my website has a name like xxx-yyy.abc.com. An alias is set up on my domain server's host so that my site is www.xxx.com. The routes.py configuration I have is working, but I want to make a change in order to use the server's

[web2py] routing problem on www.bioinformatics.org

2012-11-02 Thread Maurice Ling
Hi everyone I am trying to deploy web2py in www.bioinformatics.org. I had unzipped web2py into ~/public_html/refgene which is then suppose to be accessed as www.bioinformatics.org/refgene but I cannot seems to get it to work. http://www.bioinformatics.org/refgene Routes to

[web2py] Routing problem

2012-08-08 Thread Paulo Junqueira da Costa
I just uploaded my first app do production under apache and following the manual, I wrote a routes.py as follows: routers = dict( BASE = dict( default_application = 'vendasexpress', default_controller = 'default', default_function = 'index', domains = {

Re: [web2py] Routing problem

2012-08-08 Thread Jonathan Lundell
On 8 Aug 2012, at 2:13 PM, Paulo Junqueira da Costa paulo.junque...@gmail.com wrote: I just uploaded my first app do production under apache and following the manual, I wrote a routes.py as follows: routers = dict( BASE = dict( default_application = 'vendasexpress',