Questions tagged [mod-wsgi]

mod_wsgi is an easy to use Apache module that can host Python web applications which support the Python WSGI interface.

mod_wsgi is a simple to use Apache module which can host any Python application which supports the Python WSGI interface. The module would be suitable for use in hosting high performance production web sites, as well as your average self managed personal sites running on web hosting services.

399 questions
1
vote
1 answer

Centos 5 Apache 2.2 configure with mod_wsgi (missing apxs folder)

I have got a dedicated server and CENTOS 5,webmin and Apache 2.2 is already installed. They installed Apache at /usr/libexec/webmin/apache/ and it works great right now. I can restart and configure the server from webmin. However, I would like to…
brsbilgic
  • 153
  • 6
1
vote
2 answers

Django's unpredictable behaviour

I've been trying to make a simple app in Django for a while now and I noticed the following behaviours: Everytime I make changes to urls.py in my project folder, changes are not reflected until I restart http daemon. Why? Is there any way I can do…
Ram
  • 113
  • 2
1
vote
1 answer

Apache fails to work/hangs when including mod_wsgi.so

I am running Centos 5 on 64 with apache 2.2. When I include wsgi_module apache restarts ok with no errors, but it fails to serve any requests. It just says waiting in the browser when I access an URL. Any thoughts of the problem or how can I narrow…
Gabriel Solomon
  • 126
  • 3
  • 13
1
vote
2 answers

504 gateway timeout on nginx + apache + mod_wsgi

I'm running a django app with mod_wsgi and proxying with nginx. One of my views takes 2+ minutes to complete. When I visit it, I get a 504 gateway timeout. Is there a setting I can change to increase the time it takes to timeout? I've tried…
Kevin
  • 113
  • 1
  • 6
1
vote
1 answer

Trac problem: AttributeError: Cannot find an implementation of the "IRequestHandler" interface named "WikiModule"

This problem already has been described mutliple times in different mailing lists, but no solution has yet been published. My original setup is as follows (but in the mean time i have a simpler one on Windows 7): Ubuntu server with apache 2.2 and…
Janosch
  • 111
  • 2
1
vote
2 answers

Apache2 not loading wsgi script

I am setting up CKAN, a pylons application according to these instructions: http://packages.python.org/ckan/deployment.html But when I point to the server (no DNS setup yet) using IP or hostname, I only see apache's greeting page, sugesting the ckan…
fccoelho
  • 111
  • 1
  • 5
1
vote
3 answers

Why, when everything is working properly, an apache restart writes into error.log?

This is just a minor nitpic, but I wonder if anyone can tell me the reason - when I restart apache, these lines get written into /var/log/apache2/error.log [Thu Mar 24 10:20:56 2011] [warn] mod_wsgi: Compiled for Python/2.6.5. [Thu Mar 24 10:20:56…
ripper234
  • 5,890
  • 9
  • 41
  • 49
1
vote
1 answer

Problem deploying Django site with mod_wsgi

I'm trying to set up an apache + mod_wsgi environment for a Django site on Linux Mint. I followed the django site tutorial for this, and mod_wsgi site too. So far I got this: on my httpd.conf I have this: WSGIScriptAlias /site…
Cheluis
  • 113
  • 3
1
vote
3 answers

Which user account should be used for WSGIDaemonProcess?

I have some Django sites deployed using Apache2 and mod_wsgi. When configuring the WSGIDaemonProcess directive, most tutorials (including the official documentation) suggest running the WSGI process as the user in whose home directory the code…
Nathan S
  • 13
  • 3
1
vote
3 answers

Problem with deploying django application on mod_wsgi

I seem to have a problem deploying django with mod_wsgi. In the past I've used mod_python but I want to make the change. I have been using Graham Dumpleton notes here http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango1, but it still seem to…
Shehzad009
  • 147
  • 1
  • 2
  • 6
1
vote
1 answer

django, mod_wsig , KeyError Threading ignored

I am getting this error from mod_wsgi: [Thu Feb 24 23:31:33 2011] [error] Exception KeyError: KeyError(140115471374144,) in ignored I am using virtualenv with mod_wsgi, I have set…
Apoo
  • 11
  • 1
1
vote
1 answer

URLs redirection problems deploying a working django app in apache (via mod_wsgi)

I've a django app that works perfectly under the django development server. I'm trying to deploying it in apache2.2 using the mod_wsgi and I have errors. In the httpd.conf file I "mounted" my app under the root /myapp using:
green69
  • 131
  • 4
1
vote
2 answers

mercurial updated, mod_wsgi runs old version

I have a VPS with Centos 5.5, installed Python 2.6 following Setup Python 2.5, mod_wsgi, and Django 1.0 on CentOS 5 (cPanel) tutorial and Mercurial 1.6 via easy-install. Now I wanted to update to Mercurial 1.7.5, so I easy-installed it and it seemed…
frnhr
  • 125
  • 8
1
vote
1 answer

wsgi, xampp and windows

I'm trying to setup wsgi on xampp in order to run python web applications. I've downloaded the appropriate binary from here and i've installed the module as described. As I'm running xampp, my module is located at C:\xampp\apache\modules. I've also…
richzilla
  • 205
  • 1
  • 3
  • 13
1
vote
1 answer

mod_wsgi, apache2, and load average

I've got a server running several cherrypy apps on apache2 under mod_wsgi. We're seeing constantly fluctuating load average on a box that is not serving many requests. As far as I can tell, the box is under no real CPU load, has plenty of memory,…