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
0
votes
1 answer

Cant make mod_wsgi-3.3 on centos, is there a python2.7-dev(el) package?

I'm trying to get mod_wsgi to work om my CentOs server so I can run Django sites on apache. I've installed python2.7 paralel to 2.4 (because you have to keep 2.4 in order to keep yum happy), the root user is using 2.7. I want to do: # wget…
Jasper Kennis
  • 379
  • 1
  • 3
  • 12
0
votes
1 answer

Deploying a Django site using apache2 and mod_wsgi

I've been trying to teach myself to create and deploy Django apps. I've created a test project and I can browse it using the Django test server. Now I want to deploy it using apache and mod_wsgi. I followed the installation instructions at the Quick…
hellsgate
  • 189
  • 1
  • 14
0
votes
1 answer

Enable mod_rewrite Apache

When I try to turn the RewriteEngine on, it tells me that mod_rewrite is not installed. I've looked in my apache2.conf file and there is not line to uncomment that resembles LoadModule rewrite_module modules/mod_rewrite.so I am not savvy at…
Brendan
0
votes
2 answers

Error Installing mod_wsgi on RedHat

I'm trying to install mod_wsgi on RedHat Linux. And I'm getting this error: apxs:Error: Command failed with rc=65536 The answer seems to be here, but I think I already have 64 bit Python so I'm not clear on what I'm supposed to do in that…
Greg_the_Ant
  • 489
  • 7
  • 26
0
votes
3 answers

Apache mod_wsgi error: ImportError: No module named django.core.handlers.wsgi

I am using Python 2.7 with mod_python 3.3.1 and mod_wsgi 3.3. I get an Internal Server Error and this stack trace in the apache logs: [Thu Apr 21 10:25:37 2011] [error] [client 83.244.243.242] import django.core.handlers.wsgi [Thu Apr 21…
bigmac
  • 101
  • 1
  • 1
0
votes
1 answer

503 Error: Service Temporarily Unavailable (Mod_wsgi, Apache, Django)

I followed the tutorial to mount a Djando application on Apache here. The Django project was created under its own directory in /opt. Any suggestions or other tutorials I can use? I reviewed few tutorials on the Django site with no success. The…
thinkux
  • 1
  • 1
  • 2
0
votes
1 answer

Can't get URLs to work on Django Apache EC2

This is my first time trying to setup a webserver with Django. I've been banging my head against the wall in trying to set this up for a while now and I can't seem to find any resources that explains this in a newbie formatted step by step manner.…
Nai
  • 743
  • 1
  • 6
  • 24
0
votes
1 answer

Where are my installed files on Amazon?

This sounds like a real noob question but I cannot figure this out. I'm trying to get Apache, mod_wsgi and Django playing together on my EC2 instance. So I've installed mod_wsgi using the root user and I'm trying to edit my httpd.conf as per the…
Nai
  • 743
  • 1
  • 6
  • 24
0
votes
1 answer

How can I build mod_wsgi 3.3 on Ubuntu 8.04?

How can I build mod_wsgi 3.3 on Ubuntu 8.04?
marue
  • 111
  • 1
  • 4
0
votes
1 answer

Apache, mod_wsgi, Django - strange 500 errors

I have a Django site which works well most of the time, memory usage is stable and I wouldn't have to worry if not some strange problems, which were occasional until yesterday and cause site to go down for the whole last…
0
votes
1 answer

Unable to install mod_wsgi on CentOS 5.5 VPS

I am trying to install mod_wsgi on my VPS, but it won't work. This is what I am doing: wget http://modwsgi.googlecode.com/files/mod_wsgi-2.5.tar.gz tar xzvf mod_wsgi-2.5.tar.gz cd mod_wsgi-2.5 ./configure…
jasonaburton
  • 263
  • 1
  • 4
  • 9
0
votes
1 answer

Django WSGI segfaults when importing setproctitle module

I want to use the python setproctitle module to update the process name of a python WSGI worker process when it starts working on a request. (This is to try to track down what URLs are using all the CPU). I have written a simple Django middleware…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
0
votes
1 answer

apache/python/mod_wsgi - See what python code a mod_wsgi child process is running?

I'm using Debian, Apache and mod_wsgi to run a Django application. One of the apache child processes is using lots of CPU. I need to find out what's causing it. Is there anyway to see, given a apache child PID, what python code is being run? Sorta…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
0
votes
1 answer

Why is Apache with mod_wsgi + mod_php causing segmentation fault?

I'm using Macports on OS X 10.6 to manage Apache, PHP, and Python. I've never had any problems and the setup works great. However, when I add mod_wsgi to the mix Apache immediately crashes with a segmentation fault. Here's what's installed via…
Matt S
  • 103
  • 5
0
votes
2 answers

Apache mod_wsgi error

I have followed this guide to setup django on a cpanel server (CentOS 5.2) http://toic.org/2010/08/14/django-on-cpanel-with-python2-6-virtualenv-and-mod_wsgi/comment-page-1/#comment-680 I get a 500 page on the domain I've set up. Apache Log: File…
Benbob
  • 277
  • 1
  • 6
  • 19