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

Loading Module Into Apache - mod_wsgi

Loading Module Into Apache Once the Apache module has been installed into your Apache installation's module directory, it is still necessary to configure Apache to actually load the module. Exactly how this is done and in which of the main Apache…
0
votes
1 answer

apache, mod_wsgi: cannot open shared object file

$ /etc/init.d/httpd restart Starting httpd: httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_wsgi.so into server: /etc/httpd/modules/mod_wsgi.so: cannot open shared object file: No such file or…
Kreshnik
  • 145
  • 1
  • 3
  • 9
0
votes
1 answer

Apache stops serving request

I am running django with mod_wsgi and every thing works fine most of the time but at times I observe that all of sudden Apache stops serving any requests, monitoring service on server says httpd is still running but requests take too long and fails…
vishy
  • 61
  • 1
  • 3
0
votes
1 answer

mod_wsgi woes on x64 windows 7 running Apache 2.2

64-bit Win7 Apache 2.2.19, mod_wsgi/3.4-BRANCH Python/2.7.3 No errors visible in logs: [Wed Aug 01 17:44:48 2012] [notice] Apache/2.2.19 (Win64) mod_wsgi/3.4-BRANCH Python/2.7.3 configured -- resuming normal operations [Wed Aug 01 17:44:48 2012]…
rickL
  • 3
  • 1
0
votes
1 answer

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 it performs a transform on the incoming bbox, and…
monkut
  • 255
  • 3
  • 13
0
votes
1 answer

mod_wsgi only working when user is logged in

I've set up a Django application on a Linux server (Ubuntu server 12.4), using Apache (mod_wsgi) and PostgreSQL (psycopg2). I had problems with Postgres' unix authentication, so I chose a regular user as both the database owner and the apache user.…
mgibsonbr
  • 353
  • 1
  • 4
  • 8
0
votes
1 answer

Django hosting on linux - what's the most memory-efficient technique?

I've got a VPS (Ubuntu 10.04, 512MB) on which I host 10-15 django sites, most of which have intermittent traffic. I'm wondering what the best hosting technique is in this situation, where the processes are mostly sitting idle. Currently, I've got…
Greg
  • 239
  • 1
  • 12
0
votes
1 answer

centos default apache log location for virtualhost

may i know what is the default location for the error logs for inidividual sites/virtualhost in apache + centos? Also, if I want to customize the location of the log file, do I define errorLog under the VirtualHost in http.conf (can't seem to get it…
amateur
  • 123
  • 4
0
votes
2 answers

mod_wsgi on Plesk server

I've installed mod_wsgi on my Plesk server, but I can't get it to behave the way I'd like. If I add WSGIScriptAlias /python /var/www/vhosts/domain.com/httpdocs/python/test.wsgi To my config file, going to http://domain.com/python/blah triggers my…
Brandon
  • 426
  • 5
  • 17
0
votes
1 answer

Python with mamp

I have a MAMP 1.9 install on Lion and would like to start using python with it. Mainly to learn and develop django sites. I am very new to python in general. In my research I found that I either need mod_python or mod_wsgi to make it work. But found…
applechief
  • 125
  • 4
0
votes
2 answers

Apache Django Mod_Wsgi - reload application automatically

My mod_wsgi is running in daemon mode but it won't reload my django app whenever I make changes to files. Each time I have to reload apache's configuration. I tried to us this tutorial, but it didn't work for me...
None
0
votes
1 answer

Installing Mod-wsgi 3.3 for apache 2.2 and python 3.2

I am attempting to install Mod-wsgi 3.3 on an ubuntu 11.10 desktop edition with apache 2.2 and python 3.2 I downloaded the source tarball and extracted it. I configured it using the --with-python=/usr/bin/python3 option to configure. This is the…
0
votes
1 answer

mod_wsgi overriding virtual hosts on Apache?

I have a working Django app hosted on my linode (Fedora 15), and I'm attempting to host a php-based site there as well. I'm using name-based virtual hosts to redirect requests based on the host name, but for some reason, every request is going to…
LBR
  • 3
  • 2
0
votes
3 answers

Debian 5 Lenny how to upgrade Python to 2.7 version to run Django app?

I'm configuring Debian 5 to run my Django app. The required application is required incompatible with Python 2.5 packages. I installed Python 2.7 and created the symlink python -> /usr/bin/python2.7/bin/python. After I installed mod_wsgi ./configure…
I159
  • 105
  • 6
0
votes
1 answer

Django + Apache + mod_wsgi problems

I have spent the last 2 days attempting to deploy a Django application I've built and tested using the development server built into manage.py. I've read countless tutorials and snippets, and cannot seem to get anything working correctly. At my wits…
patrickn
  • 103
  • 2