I'm getting the following error when I try to install mod_wsgi
./configure
checking for apxs2... no
checking for apxs... /usr/sbin/apxs
checking Apache version... 2.2.3
configure: creating ./config.status
config.status: creating Makefile
make
/usr/sbin/apxs -c -I/usr/local/include/python2.6 -DNDEBUG mod_wsgi.c -L/usr/local/lib -L/u...
what's the best ways to mix static files and wsgi app served on the root directory?
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
recommends setting up
WSGIScriptAlias / /usr/local/www/wsgi-scripts/myapp.wsgi
and alias other directories and files:
Alias /robots.txt /usr/local/www/documents/robots.txt
Alias /favicon....
Hi folks,
is there a difference between using FAPWS3 and MOD_WSGI when dealing with Django?
FAPWS3 seems alot faster when serving requests toward Python scripts. I would like to know if I'm missing out anything. :)
Any ideas?
...
Hi,
I need to setup the same django project on several identical servers.
Details:
- os - free edition of oracle enterprise linux 5
- Apache / mod_wsgi
- python
- custom python2.6 installation
- oracle db with cx_Oracle
What is the simplest way to set it up?
Would you recommend creating a system user for the django project and use daem...
hi i developing website with but unable install mod_wsgi in my ubuntu9.10 in which python2.6 is default.
...
I've just finished setting up a django app on virtualenv, deployment went smoothly using a fabric script, but now the .wsgi is not working, I've tried every variation on the internet but no luck. My .wsgi file is:
import os
import sys
import django.core.handlers.wsgi
# put the Django project on sys.path
root_path = os.path.abspath(os.p...
Hi All,
This is an updated version of an old question I asked. I've now done a lot more testing, plus the old question got hijacked.
I'm getting a request data read error when trying to upload files to the Django admin interface.
Files under about 150k work, but bigger files always fail and almost always at around 192k (that's 3 chunks...
I have a Django web application and I have some tasks that should operate (or actually: be initiated) on the background.
The application is deployed as follows:
apache2-mpm-worker;
mod_wsgi in daemon mode (1 process, 15 threads).
The background tasks have the following characteristics:
they need to operate in a regular interval (e...
I'm evaluating PyAMF to replace our current PHP (ugh) AMF services framework, and I'm unable to find the one crucial piece of information that would allow me to provide a compelling use case for changing over:
Right now, new PHP AMF services are deployed simply by putting the .php files in the filesystem; the next time they're accessed,...
Well, i've walking around this for a couples of days now... I think is time to ask for some help, i think my installation is ok...
Server OS: Centos 5
Python -v 2.6.5
Django -v (1, 1, 1, 'final', 0)
my apache conf:
<VirtualHost *:80>
DocumentRoot /opt/workshop
ServerName taller.antell.com.py
WSGIScriptAlias / /opt/workshop/...
I have a website I've built in django that I'm trying to get working on our corporate Apache server (on debian) for our intranet at my workplace. Unfortunately, Apache keeps returning server errors whenever I try to navigate to my site. Although I can navigate to the statics folder. My Apache config and wsgi script look like the followin...
Hi folks,
I'm having quite a problem deciding how to serve a few Python scripts.
The problem is that the basic functionality could be generalized by this:
do_something()
time.sleep(3)
do_something()
I tried various WSGI servers, but they have all been giving me concurrency limitations, as in I have to specify how many threads to u...
I have a django project (django+apache+mod_wsgi+nginx) with multiple apps, I'd like to map each app as a subdomain:
project/
app1 (domain.com)
app2 (sub1.domain.com)
app3 (sub3.domain.com)
I have a single .wsgi script serving the project, which is stored in a folder /apache. Below is my vhost file. I'm using a single...
Hi folks,
I'm serving Django with mod_wsgi and Apache... unfortunately requests are returning 502 Bad Gateway error messages...
Received a invalid response
HttpResponse('OK') is affected by this
render_to_response('...') is not!
any ideas?!?
...
I thought i'd speed up my django projects, by letting apache doing some caching for me.
Unfortunately I see that apache never caches my dynamic pages.
Has mod_cache problems with mod_wsgi served code ?
My apache config:
<VirtualHost *:80>
ServerName myserver.com
CacheEnable mem /
# for testing only
CacheIgnoreQueryString On
Cache...
My data_site.wsgi file:
import main
application = application()
Error i get at apache:
[Thu Apr 29 07:07:41 2010] [error] [client 81.167.201.136] Traceback (most recent call last):
[Thu Apr 29 07:07:41 2010] [error] [client 81.167.201.136] File "/var/www/vhosts/data.oddprojects.net/htdocs/data_site.wsgi", line 1, in <module>
[Thu A...
Firstly:
I understand what WSGI is and how to use it
I understand what "other" methods (Apache mod-python, fcgi, et al) are, and how to use them
I understand their practical differences
What I don't understand is how each of the various "other" methods work compared to something like UWSGI, behind the scenes. Does your server (Nginx,...
Hello,
I have a system with windows server 2008, Apache httpd 2.2 and trac 0.11 i'm using mod_wsgi so the apache server do the web server job.
Integration with Trac after read this site i found that the most suitable solution was
the following (i have in my httpd.conf the line Include conf/extra/httpd-trac.conf)
httpd-trac.conf
Loa...
I am trying to deploy Pinax bundle of Django framework + and selected applications.
Here is my apache config:
WSGIDaemonProcess ptest python-path=/home/pinax-env/lib/python2.5/site-packages
WSGIProcessGroup ptest
WSGIScriptAlias / /home/ptest/deploy/pinax.wsgi
When I restart apache I get the following error:
Invalid option to WSGI d...
I have two distinct Django "projects", which I want to run on a single domain using mod_wsgi. With mod_python, I believe there was a way to do this, where certain url paths would be mapped to one Django project, and other paths mapped to the other project, all at the server level.
Is it possible to do this with mod_wsgi, and if so, how...