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
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
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
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
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
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:
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
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
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
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
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
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
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
13 matches
Mail list logo