Re: [web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-17 Thread Krzysztof Socha
Yes - this is what I did. And yes - it seams to be a configuration issue... It is just that I have no clue where to look :( On Wednesday, April 16, 2014 12:59:36 PM UTC+2, LightDot wrote: So, I would say this is a configuration issue... But I'm not sure what's the problem. @Krzysztof, when

Re: [web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-17 Thread LightDot
First thing, try ditching the symlink and copy the wsgihandler.py directly to passenger_wsgi.py. There might be a security measure in place, preventing symlinks. The next thing I'd try is seeing if the paths within the passenger_wsgi.py get proper values, but this might be a long shot. Since

Re: [web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-16 Thread LightDot
I use apache and mod_passenger (Scientific Linux 6.x / EPEL) on a couple of high traffic web2py apps, works like a charm. Passenger is really neat, I'm testing an unified solution that provides python, nodejs and ruby support with seamless passtrough for PHP / HTML / static files. Apart of

Re: [web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-15 Thread Krzysztof Socha
Thanks... But I kinda cannot... The hosting I am using is providing nginx + phusion passenger... and it works with a simple script, as I have shown. Unfortunately, it looks like the web2py handler never returns anything and the request time-outs... I do not even know where to look to understand

Re: [web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-15 Thread Richard Vézina
I make it works with Phusion long time ago, and then get convinced after reading a blog post that this were a bad idea, since at that time phusion was not following the same rule as other linux in matter of service managment, so I resign. I remember having read and work hard, since there were no

Re: [web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-14 Thread Richard Vézina
Use unicorn!! Phusion is more work... You can have a look in contrib there is a scrip that help deploy redmine beside web2py with unicorn, so you can derive something for you need from it. It works with 12.04. Richard On Sun, Apr 13, 2014 at 4:52 PM, Krzysztof Socha kszy...@gmail.com wrote:

[web2py] Nginx/passenger/web2py - 504 Gateway Timeout?

2014-04-13 Thread Krzysztof Socha
I am trying to setup (vanila) web2py on shared hosting with nginx and passenger with support for python. I put all the files from web2py folder in the folder expected by passenger, I created a file passenger_wsgi.py required by passenger, which I simlinked to wsgihandler.py (taken from the

[web2py] nginx + uwsgi + web2py + PAM

2013-03-29 Thread Matt Broadstone
Hi, We're trying to migrate our web2py deployment to nginx and running into a problem using pam_auth as a login method. Before I go further I should clarify that PAM authentication works just fine with apache2 and a simple debug run with rocket. Also, we are trying to do this on Ubuntu 12.04

[web2py] nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-18 Thread orsomannaro
I made some modify to setup-web2py-nginx-uwsgi-ubuntu.sh script to fit it to Ubuntu Precise 12.04. Differences with the previous script: - install nginx and uwsgi from Precise reporitory - load python plugin in uwsgi configuration file for web2py setup-web2py-nginx-uwsgi-ubuntu-precise.sh

[web2py] Nginx and Web2py

2012-03-16 Thread Marco Tulio Cicero de M. Porto
Hi! I was having trouble on running web2py on nginx, but then I ran the script that comes within web2py and it installed. After that, I tried creating an app, but it didn't work. Then I stopped the server and started web2py like this: python2.6 web2py.py and then restarted nginx. I was able

Re: [web2py] Nginx and Web2py

2012-03-16 Thread Bruno Rocha
what did not work? did you installed uwsgi + nginx + web2py ? you dont need to start web2py manually on command line, uwsgi will do that for you. Checklist DNS - Is your DNS pointing to your server IP? www.domain.com gives you what? NGINX server file for your application - /etc/nginx/sites

[web2py] nginx and web2py

2011-06-09 Thread peter
I am trying to get web2py going with nginx on a remote server. When I try running it via uswgi and nginx, using wsgihandler.py, it works with the welcome application. However when I try another application it gives me an error that it cannot find .../cache/ cache.shelve. This other application

[web2py] NGINX + FCGI + web2py = routes.py not working correctly

2010-02-23 Thread Ahmed Sameh
Hi All, I have configured web2py to work with NGINX through FCGI, and everything works fine except for routes.py. I am using routes.py to redirect various sub domains to their applications. I have compared between the output of the request object in the case of using CherryPy and in the case