Tagged Questions
1
vote
1answer
84 views
What's the difference between WSGI <app> and <module>?
I followed these instructions to serve Python (Web2Py) via uWSGI. However, the web server returned an error:
uWSGI Error
Python application not found
until I modified the config.xml config ...
0
votes
0answers
51 views
Apache mod_wsgi elegant clustering method
I'm currently trying to build a scalable infrastructure for my Python webservers.
Actually, I'm trying to find the most elegant way to build a scalable cluster to host all my Python WebServices.
For ...
0
votes
1answer
621 views
Apache running Python with mod_wsgi
I need help setting up a local Apache2 to run Python. Got it to work just fine with html, php and mysql on my Mac running Mountain Lion.
Python running. Installed mod_wsgi through MacPorts and ...
2
votes
1answer
180 views
IPC overhead in a (nginx -> uwsgi -> wsgi application) architecture?
Recently I'm setting up some Python website and it seems the architecture nginx -> uwsgi -> wsgi application is an obvious choice in Python world these days. (Actually I'm migrating a MoinMoin ...
0
votes
1answer
1k views
uWSGI cannot find “application” using Flask and Virtualenv
Using uWSGI to serve a simple wsgi app, (a simple "Hello, World") my configuration works, but when I try to run a Flask app, I get this in uWSGI's error logs:
current working directory: ...
0
votes
0answers
262 views
Loading mod_wsgi in Windows / Apache
Im trying to load mod_wsgi on Windows 7 64-bit.
I've inserted LoadModule wsgi_module modules/mod_wsgi.so in my Apache's httpd.conf file.
But on restarting Apache, I get The request operation has ...
0
votes
1answer
106 views
Getting uWSGI up and running correctly
I've just started with wsgi and am trying to get a simple uwsgi server up and running. I've set up a virtualenv environment and activated it. Inside lib I have a file hello.py with the contents:
def ...
0
votes
1answer
160 views
Python, IIS scripts, and user accounts
This isn't a question on my specific problem, as I've got that more or less solved, but about IIS/Python and user accounts in general.
I have python scripts that I'm running with IIS 7.5 (Mercurial ...
0
votes
0answers
473 views
ImportError: No module named site - mod_wsgi into Apache
I have only seen some related questions to this with answers stating that there are version mix ups.
Specs:
Windows XP
Apache HTTP server 2.2.22
Python 2.7.2
WSGI mod mod_wsgi-win32-ap22py27-3.3.so
...
0
votes
1answer
963 views
Nginx with site build on Pyramid framework (Python): how to configure?
I have wrote site on Pyramid framework (Python) and bought VPS (OpenVZ technology) server.
I'm new to server administration and there is no much docs on how to configure Nginx with Python and ...
1
vote
3answers
169 views
Python app server & web server co-existing?
I have a site example.com that runs off a 'normal' web server ie at the moment Apache but looking to go for a less RAM intensive alternative in future so I don't want mod_WSGI on apache.
Shortly I ...
4
votes
1answer
1k views
UWSGI and NGINX for Python Apps on Ubuntu 11.10
I am trying to find an optimal way to set up my server to use NGINX and UWSGI to serve python applications. The following has worked so far:
Initial setup:
sudo apt-get install nginx uwsgi ...
1
vote
1answer
113 views
How do you implement mod_wsgi on web servers?
All of the documentation I've seen outlines the process for self-managed Apache configuration. I currently have my site hosted through Media Temple. Is it possible to configure WSGI for these types of ...
1
vote
1answer
53 views
How to configure Apache WSGI for Python to serve only non-existing files?
I would like to setup Django with WSGI and Apache on root (/) of the website, but I would like that Apache servers through WSGI (and Django) only those URLs which do not have corresponding file to ...
1
vote
1answer
276 views
WSGIDaemonProcess: specifying a user
I have a user account all set up for this Python webapp I'm deploying with mod_wsgi. It's super-unprivileged, and only gets to read from the appdir and write to a separate set of tempdirs which no one ...
2
votes
1answer
2k views
Python/Django/WSGI/Apache - “ImportError: No module named site”
I am trying to use a django application on my local ubuntu machine. However the site doesn't work and my /var/log/apache2/errors.log is filled with messages like this:
ImportError: No module named ...
0
votes
1answer
830 views
uWSGI Virtualhost mode with touch-reload
So far I have been experimenting with uWSGI to replace a lot of kludgy server code that builds and does setup for Python wsgi applications under supervise. I am running dozens of these small projects ...
17
votes
1answer
1k views
Recommended Nginx + WSGI Configurations
Please explain pros/cons when using the different Nginx WSGI interfaces? Please explain in detail what differentiates each configuration? Which configuration should scale the best?
If relevant, what ...
3
votes
2answers
786 views
Attempting to run Django with start Apache2 mod_wsgi on Ubuntu Lucid Lynx without success
I have a small vps with a minimum install of ubuntu lucid-lynx with about 256mb memory, it's newly installed with nothing special running on it. I'm trying to deploy django to it, while I'm ...
2
votes
2answers
309 views
wsgi and python print statements
I have become aware that the print statements in my django app are causing wsgi to error and fail. Without going over all my code and removing/commenting out the print statements, is there a way I can ...
2
votes
2answers
1k views
How do I get Apache to run Python 2.7 rather than 2.5?
How do I get Apache to run 2.7 rather than 2.5?
I'm configuring Apache to use mod_wsgi with Django and Python 2.7, but error logs show Apache is using Python 2.5.2 and can't find ...
1
vote
0answers
232 views
How can I use WPHP with Python Paste
It was suggested to me in answer to my question How can I use Python’s CGIHTTPRequestHandler as a dev server for PHP that I try WPHP.
I've tried:
import wphp
my_php_app = ...
4
votes
1answer
741 views
how to configure ISPConfig for mod_python or mod_wsgi?
how to configure ISPConfig for mod_python or mod_wsgi for django like apps deployement?
0
votes
1answer
643 views
How to install mod_wsgi 3.1 on Ubuntu 9.10
I have a Python 3 web app so mod_wsgi < 3.1 doesn't cut it for me. However, on my Ubuntu 9.10 installation there doesn't seem to be a package for mod_wsgi 3.1.
Is there an alternative repository ...