Web Server Gateway Interface is a specification for web servers and application servers to communicate with web applications. It is a Python standard, described in detail in PEP 333.

learn more… | top users | synonyms

0
votes
1answer
183 views

Best place to host a moderately CPU intensive Django WSGI app

I recently made a web app with Django, and (in development mode, where I've been using it), it works great. I'm an academic and need to quickly find hosting for my app somewhere so that I can submit ...
1
vote
0answers
121 views

Django - can't get production web server running

I'm trying to deploy a Django app in production, on an apache server, using mod-wsgi. mod-wsgi is installed and working fine. When I run the Django server, it launches fine, but I can't access it on ...
0
votes
3answers
1k views

How do I add a URL prefix (/wiki) to MoinMoin running on uWSGI and nginx?

I just set up uWSGI and nginx (with the uWSGI module) and would like to get MoinMoin set up. I'm running uWSGI with MoinMoin with the command below: /usr/bin/uwsgi -s moin.sock --wsgi-file ...
1
vote
1answer
57 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 ...
2
votes
1answer
601 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 ...
0
votes
1answer
1k views

How can I track down a memory leak with wsgi, django, php and apache2?

I'm running 3 separate virtualhosts for my website (Django w/ wsgi for the main site, another Django w/ wsgi for the mobile version of the site, and a 3rd for Wordpress serving as the site's blog). ...
3
votes
1answer
6k 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
956 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 ...
19
votes
1answer
2k 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
982 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 ...
5
votes
0answers
2k views

Apache/wsgi “Script timed out before returning headers”

I have a custom Django app that's becoming unresponsive roughly every 5,000 requests. In the apache logs, I see see the following: Apr 13 11:45:07 www3 apache2[27590]: **successful view render here** ...
2
votes
1answer
632 views

How can I control log messages for Apache (specifically, auth_mysql module & WSGI)?

On an Ubuntu 10.04 server w/ Apache2, I have auth_mysql turned on, and I am getting [debug] messages showing up. How can I turn these off? I'm guessing there is a way to turn this off for the ...
2
votes
2answers
610 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 ...
2
votes
1answer
861 views

Mutli-Site uWSGI config

I have about a dozen small Django sites I want to run using Nginx and uWSGI. They are on a 4-core server with 8 gigs of ram. Should each site be configured on its own socket and how can I control the ...
5
votes
1answer
3k views

Where do I place the WSGIPythonHome directive in the httpd.conf file?

I have searched the entire file for a place to put the directive, but I have no idea where to put it, and the internet doesn't seem to have a good answer either, or maybe I'm just not good at ...
0
votes
2answers
422 views

How to speed up request/response to django using apache or another solution?

I'm mainly a developer, but every now and again I jump into the sys-admin position. For the most part I've gotten away with deploying php and python apps using apache. I write today because I'm ...
1
vote
4answers
2k views

Nginx + uWSGI on a fresh Ubuntu install - bind error port 80

I know this is a common problem usually having to do with apache or another service already running on port 80 and I have done a lot of searching and running netstat and still have not figured out why ...
3
votes
1answer
2k views

Nginx + Django + FastCGI WSGI error? (Non fatal)

Hi everyone I am running django on top of nginx with fastcgi. When i do runfcgi, I am seeing these errors: python manage.py runfcgi daemonize=false host=127.0.0.1 port=8000 WSGIServer: missing ...
1
vote
1answer
406 views

Re: How can Django/WSGI and PHP share / on Apache?

in response to: How can Django/WSGI and PHP share / on Apache? Hello, could you please post the complete config file from /sites-available I am having a problem seems like rewrite engine redirects ...
0
votes
1answer
2k views

How can Django/WSGI and PHP share / on Apache?

I have a server running an established PHP site, as well as some Django apps. Currently, a VirtualHost set up for PHP listens on port 80, and requests to certain directories are proxied to a ...
5
votes
1answer
1k views

Upstart vs Supervisord to manage WSGI processes

Thoughts? I'm running Ubuntu 10.0.4
1
vote
1answer
162 views

WSGI: get status 200 OK instead of 404

what's wrong with the following WSGI setup based on Apache 2.2, Windows and mod_wsgi 3.3? The problem is that the client gets an OK response status even visiting URLs that don't have an associated ...
0
votes
1answer
502 views

Cant start uwsgi in ubuntu 10.10

When I run "/etc/init.d/uwsgi start" nothing happens, the terminal just gives me a new line and no output. There is no sign of uswsgi in ps aux as well and /var/log/uwsgi.log is empty I'm folowing ...
1
vote
1answer
219 views

Django hosting on Windows server

I'm running in a "Windows only" environment. We have a few linux boxes but we're not allowed to use Linux in our DMZ (something about it being less secure. ha.) We're currently developing a couple of ...
2
votes
1answer
481 views

Django Deploy Reccomendations

I have a Web application provided in SaaS way... (each client has his own sub-domain and his own database). My app uses Django Python and Postgresql. Right now is hosted on a linux shared hosting ...
1
vote
0answers
254 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 = ...
0
votes
2answers
39 views

How would I specify a particular settings.py file in a wsgi file?

I'm a complete newbie to Python and Django but have a need to set up a website. What commands/parameters would I add to a file of type *.wsgi that could specify a particular settings.py file in the ...
1
vote
3answers
5k views

How can I install wsgi on CentOS using yum?

How can I install wsgi on CentOS using yum? Is there any repository with mod_wsgi?
0
votes
1answer
424 views

WSGIScriptAlias seems to disable apache ssl

I have a django app that I'm trying to serve over a secure connection. Apache's ssl engine and my certificate are definately working, as my static media is served over a secure connection. However ...
4
votes
1answer
1k 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?
1
vote
1answer
672 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 ...
2
votes
1answer
4k views

HTTP 500 error from POST reuqest to django vai WSGI and apache

Ive got a Django web application setup with mod_wsgi and apache2 on ubuntu 9.10 Im using the following code to o a user authentication via a HTTP post for another part of my site. All it required ...
0
votes
2answers
936 views

How to force the use of SSL for some URL of my Django Application?

I want to be sure that for some URL of my website, SSL will be use. I saw a lot of answer already on SO. http://stackoverflow.com/questions/724968/force-redirect-to-ssl-for-all-pages-apart-from-one ...
0
votes
2answers
2k views

Nginx ModWsgi Bad?

I was thinking of deploying Nginx with mod_wsgi. However I read this blog: http://blogg.ingspree.net/blog/2007/11/24/nginx-mod-wsgi-vs-fastcgi/ In here the author of mod_wsgi for nginx says that the ...