0
votes
1answer
45 views

Configuring Apache with Django

I'm trying to configure Apache with Django. Everything is working except the admin panel. It's static files are not loading. The documentation talks about different ways of doing it but none are ...
1
vote
1answer
178 views

Tuning django based site deployed using apache wsgi for better performance

I'm running django application using apache+mod_wsgi, I have setup 6 medium ubuntu servers on Amazon ec2 in which 2 for mongo and 4 for django and apache, using ebs for postgresql and configured a ...
0
votes
1answer
201 views

Apache Processes in top more than MaxClients

We have Apache running with the worker MPM and have MaxClients set to 6, yet when I open up top I can see more than 6 Apache processes running. 13 visible in the screen dump below. Can someone explain ...
1
vote
0answers
272 views

Apache bloodhound installation, AWS host not serving site

Following the installation instructions here I went through the entire process on an AWS instance. Everything seems to be setup correctly, I can even run BH off the development server using: tracd ...
0
votes
1answer
149 views

How to have PHP and mod_wsgi python app on the same domain?

I am using apache with mod_wsgi (python3) on ubuntu 12.04. I have a python app (bottle) which is at www.mysite.com/ In my python app I have routes like www.mysite.com/abbb?q=blab I would like a ...
1
vote
1answer
294 views

apache pointing to the wrong version of python on ubuntu how do I change?

I am setting up a flask application on and Ubuntu 12.04.3 LTS EC2 instance and everything seemed to be working well (i.e. I could get to the webpage via the publicly available url) until I tried to ...
0
votes
2answers
125 views

ubuntu linode server 404 error with django mod_wsgi [closed]

I have configured a linode server with apache2 and mod_wsgi.. the server is running wsgi is running postgre is running and syncdb was successful what I am having trouble finishing is actually ...
0
votes
1answer
141 views

apache2: two virtual hosts interfere

I am a developer, not a sys-admin :) I always have been running multiple vhosts in parallel on different ports, but this time something is interfering. I have one vhost which runs a python-based ...
1
vote
0answers
151 views

Apache will not start with mod_wsgi enabled

I'm trying to run Apache with mod_wsgi to run Python scripts. The server is running Ubuntu 12.04 with Zend Server installed, but when I enable the wsgi module Apache will not start. I get an error ...
0
votes
1answer
237 views

Running two wsgi applications on the same server gdal org exception with apache2/modwsgi

I'm trying to run two wsgi applications, one django and the other tilestache using the same server. The tilestache server accesses the db via django to query the db. In the process of serving tiles ...
3
votes
1answer
1k views

Installing mod_wsgi with python 2.7 on ubuntu

I tried to install mod_wsgi on my ubuntu server using the package manager, but noticed it depends on python 2.6. I'm using python 2.7, and would rather avoid installing 2.6... Does mod_wsgi really ...
1
vote
2answers
223 views

How may I know the amount of memory used by each one of my apache sites?

When I run ps aux I get the following process table http://pastebin.com/NJsASBek that shows how much memory is being used by each one of the subprocess. We can see apache proceess are shown like this: ...
2
votes
1answer
309 views

Find site of apache from linux process table

I am using Ubuntu server and when I run ps aux I get the following process table http://pastebin.com/NJsASBek as we can see apache proceess are shown like this: www-data 26487 0.0 0.9 245476 14920 ...
2
votes
3answers
3k views

WSGI says “permissions denied” on my Ubuntu server, no WSGISocketPrefix setting works

I am trying to run Apache2 with mod_wsgi supporting daemon processes on Ubuntu 10.04.3 LTS (lucid). The problem is, I am not able to find out a working configuration for WSGISocketPrefix directive. ...
1
vote
3answers
730 views

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: ...
0
votes
1answer
137 views

How can I build mod_wsgi 3.3 on Ubuntu 8.04?

How can I build mod_wsgi 3.3 on Ubuntu 8.04?
1
vote
1answer
311 views

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 <module 'threading'from '/usr/lib/python2.6/threading.pyc'> ignored ...
2
votes
7answers
288 views

I'm DOSing my own Apache server, and I can't stop immediately. What can I do to make things better in the short term?

We've got a BUNCH of distributed clients that, among other things, upload log files to our Apache server. We messed up log rotation on some logs, so we're now uploading relatively large files from ...
1
vote
1answer
670 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 ...
22
votes
7answers
32k views

How to set up Mod_WSGI for Python on Ubuntu

I am trying to setup MOD_WSGI on my Ubuntu box. I have found steps that said I needed to do the following steps I found at http://ubuntuforums.org/showthread.php?t=833766 sudo apt-get install ...
0
votes
1answer
2k views

Using wsgi with python 2.6 on ubuntu

I'm using libapache2-mod-wsgi 2.5-1 on ubuntu. Python 2.4 and 2.6 also installed. On server start i get the following warns in the error log: [Sun Nov 29 14:23:47 2009] [warn] mod_wsgi: Compiled for ...