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

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 working for me. Here is my…
maahd
  • 121
  • 6
0
votes
1 answer

Django, Ubuntu, Apache, mod_wsgi

I'm trying to configure apache with django on Ubuntu 12.04. I'm using mod_wsgi. I used a couple of different tutorials but none of them fully worked for me. Frustrated, I installed nginx without removing Apache. Tried configuring nginx. Failed.…
maahd
  • 121
  • 6
0
votes
1 answer

Apache and mod_wsgi, worker process stuck to W state, request never dies. How to diagnose?

I am running Apache 2.2 with mod_wsgi, Python 2.7 and mpm_worker. Occassionally, one of the worker processes gets stuck and all of it threads stop in writing state (as demostrated in the screenshot below). This happens ~once in a day for one worker…
Mikko Ohtamaa
  • 1,374
  • 3
  • 17
  • 28
0
votes
1 answer

Error starting mod_wsgi

When I run the start-server command on mod_wsgi-experess, I get this output: Server URL : http://localhost:8000/ Server Root : /tmp/mod_wsgi-localhost:8000:0 Server Conf : /tmp/mod_wsgi-localhost:8000:0/httpd.conf Error Log :…
0
votes
2 answers

Enabling SPDY for nginx as reverse proxy to Apache

I am running nginx as a reverse proxy to apache (with mod_wsgi for a django app). nginx also serves static files. If I enable spdy on nginx, do I need to enable spdy on apache too to get maximum benefit of spdy?
ustun
  • 225
  • 2
  • 4
  • 13
0
votes
3 answers

Apache: 403 Forbidden for WSGIScriptAlias

I am trying to install istSOS following these instructions from the website: Installation Install PostgreSQL $ sudo apt-get install postgresql postgresql-client postgresql-contrib pgadmin3 Install PostGIS $ sudo apt-get install…
JJD
  • 77
  • 1
  • 10
0
votes
1 answer

Apache CustomLog for WSGI server is not filtered by LogLevel

I have a WSGI server which is served by an Apache proxy. I would like to have a log file dedicated to that server, so I added the following to the VirtualHost declaration: LogFormat "%h %l %u %t \"%r\" %>s %b" wsgi_server CustomLog…
Adam Matan
  • 13,194
  • 19
  • 55
  • 75
0
votes
1 answer

How do I tell what request a mod_wsgi process is serving?

Occasionally, I get an apache process running at 100% CPU. I've tried letting it run it's course, but I've seen it go more than half an hour without giving up. My running hypothesis is there is an infinite loop in some application code…
Marc Hughes
  • 805
  • 1
  • 7
  • 10
0
votes
1 answer

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 this? There's also a screen dump from…
scoopseven
  • 125
  • 6
0
votes
1 answer

Using Apache to make a virtual host with the same domain name?

I'm sure there's a name for this and I'm probably just searching wrong. Anyways, is it possible to set up virtual hosts on the same domain name by using information after the '/' For example host1 => example.com/siteA/ host2 => example.com/siteB/ It…
0
votes
1 answer

Need Server requirement estimates for my application

I am a newbie to Web Development and am trying to estimate the server requirements based on my application configuration. My application will have to perform simple database look-up based on unique keys which are stored as text. Page Views: 70k…
mukesh
  • 101
  • 2
0
votes
2 answers

problem with deploying django application on mod_wsgi

I was just trying to figure out how to configure django to work in a test production environment. I'm following both the tutorial on django doc on deployment and the mod_wsgi guide to django integration. No matter what i do, all i get is page not…
FurtiveFelon
  • 357
  • 4
  • 12
0
votes
1 answer

Target WSGI script not found or unable to stat

This problem has tortured me for days. I am using Apache, WSGI and django on my Raspberry Pi. Operating system is Raspbian. Everything is okay except this error from apache. [error] [client 127.0.0.1] Target WSGI script not found or unable to stat:…
Jiechao Li
  • 253
  • 1
  • 4
  • 13
0
votes
1 answer

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 path www.mysite.com/forum to resolve to a php app…
Lazik
  • 105
  • 7
0
votes
2 answers

How to choose a web server for a Python application?

Information and prerequisites: I have a project which is, at its core, a basic CRUD application. It doesn't have long running background processes which it forks at the beginning and talks to later on, nor does it have long running queries or kept…
Phil
  • 523
  • 1
  • 4
  • 9