Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Jonathan Lundell
On 10 Sep 2012, at 9:02 AM, Marek Mollin rog...@gmail.com wrote: So i have cut down the router to bare minimum, just to check this admin issue. I now have: routers = dict( BASE = dict( domains = { 'myapp.com' : 'myapp1', 'test.myapp.com' : 'myapp2', }

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Marek Mollin
We be rollin ;] It works perfectly so far. Both admin and appadmin. Relocating admin doesnt work but its no big deal I guess. Thanks a million! W dniu wtorek, 11 września 2012 18:36:12 UTC+2 użytkownik Jonathan Lundell napisał: On 10 Sep 2012, at 9:02 AM, Marek Mollin rog...@gmail.com

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Jonathan Lundell
On 11 Sep 2012, at 12:04 PM, Marek Mollin rog...@gmail.com wrote: We be rollin ;] It works perfectly so far. Both admin and appadmin. Relocating admin doesnt work but its no big deal I guess. What happens when you relocate admin? Thanks a million! W dniu wtorek, 11 września 2012

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Marek Mollin
It fires up default app. W dniu wtorek, 11 września 2012 21:15:50 UTC+2 użytkownik Jonathan Lundell napisał: On 11 Sep 2012, at 12:04 PM, Marek Mollin rog...@gmail.com javascript: wrote: We be rollin ;] It works perfectly so far. Both admin and appadmin. Relocating admin doesnt work but

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Marek Mollin
Checked again with restarting entire server and it seems fine. Redirects to admin just fine: small problem starts when you enter particular's app appadmin it goes under url: admin.myapp.com/myapp/appadmin and css goes a bit wierd: http://i.imgur.com/0eOYe.png W dniu wtorek, 11 września 2012

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Jonathan Lundell
On 11 Sep 2012, at 12:32 PM, Marek Mollin rog...@gmail.com wrote: Checked again with restarting entire server and it seems fine. Redirects to admin just fine: small problem starts when you enter particular's app appadmin it goes under url: admin.myapp.com/myapp/appadmin Post the router,

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-11 Thread Marek Mollin
I will test and provide further tomorrow. Thanks for quality involment. W dniu wtorek, 11 września 2012 21:37:00 UTC+2 użytkownik Jonathan Lundell napisał: On 11 Sep 2012, at 12:32 PM, Marek Mollin rog...@gmail.com javascript: wrote: Checked again with restarting entire server and it seems

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-10 Thread Marek Mollin
Apparently, I have to domains there is no way for me to access admin. I get gateway timeouts. W dniu poniedziałek, 10 września 2012 01:27:02 UTC+2 użytkownik Marek Mollin napisał: So if I skip the admin.app.com line domain I will get: test.app.com/admin app.com/admin all working fine? W

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-10 Thread Marek Mollin
To rephrase: I need a sample routes.py with router between two domains (subdomains) getting two seperate applications with admin access enabled. I urgently need help, thanks. W dniu poniedziałek, 10 września 2012 11:17:57 UTC+2 użytkownik Marek Mollin napisał: Apparently, I have two domains

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-10 Thread Jonathan Lundell
On 10 Sep 2012, at 2:17 AM, Marek Mollin rog...@gmail.com wrote: Apparently, I have to domains there is no way for me to access admin. I get gateway timeouts. I'll take a look at the code later today. W dniu poniedziałek, 10 września 2012 01:27:02 UTC+2 użytkownik Marek Mollin napisał:

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-10 Thread Marek Mollin
So i have cut down the router to bare minimum, just to check this admin issue. I now have: routers = dict( BASE = dict( domains = { 'myapp.com' : 'myapp1', 'test.myapp.com' : 'myapp2', } ), ) logging = 'debug' after tailing the uwsgi_log i get: in case of

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-10 Thread Jonathan Lundell
On 10 Sep 2012, at 9:02 AM, Marek Mollin rog...@gmail.com wrote: So i have cut down the router to bare minimum, just to check this admin issue. I now have: routers = dict( BASE = dict( domains = { 'myapp.com' : 'myapp1', 'test.myapp.com' : 'myapp2', }

[web2py] Relocated admin using router, problem with appadmin

2012-09-09 Thread Marek Mollin
Hello, I ran into small problem. I have web2py 2.08 running nginx + postgres. I configured routes using parametric system. In routes.py I defined domains and assigned admin to seperate domain. By domain i mean actually subdomains... test.app.com - testing environment using seperate db app.com -

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-09 Thread Jonathan Lundell
On 9 Sep 2012, at 12:42 PM, Marek Mollin rog...@gmail.com wrote: Hello, I ran into small problem. I have web2py 2.08 running nginx + postgres. I configured routes using parametric system. In routes.py I defined domains and assigned admin to seperate domain. By domain i mean actually

Re: [web2py] Relocated admin using router, problem with appadmin

2012-09-09 Thread Marek Mollin
So if I skip the admin.app.com line domain I will get: test.app.com/admin app.com/admin all working fine? W dniu niedziela, 9 września 2012 22:01:12 UTC+2 użytkownik Jonathan Lundell napisał: On 9 Sep 2012, at 12:42 PM, Marek Mollin rog...@gmail.com javascript: wrote: Hello, I ran into