On 23 March 2010 08:54, B. Heath Robinson <[email protected]> wrote: > Here is the apache config. > > 000-default (site config) > <VirtualHost *:80> > ServerAdmin webmas...@localhost > ServerName edenicconfluence.com > ServerAlias www.edenicconfluence.com > DocumentRoot /var/www > … > # WSGIDaemonProcess regnumvisum user=www-data group=www-data threads=5
Try again but remove user/group options from WSGIDaemonProcess. When not supplied these will default to what Apache uses for embedded mode so there should ever be a need to set them unless you really intend stuff to run as a different user. By you setting them, there is a risk that that isn't what Apache is actually using for embedded mode and when run under daemon mode the process doesn't have adequate permissions to access all the files. Graham > # WSGIProcessGroup regnumvisum > > Alias /robots.txt /srv/EdenicConfluence/regnumvisum/media/robots.txt > Alias /favicon.ico /srv/EdenicConfluence/regnumvisum/media/favicon.ico > > Alias /regnumvisum/media/ /srv/EdenicConfluence/regnumvisum/media/ > <Directory /srv/EdenicConfluence/regnumvisum/media> > Order deny,allow > Allow from all > </Directory> > > WSGIScriptAlias /regnumvisum > /srv/EdenicConfluence/regnumvisum/apache/django.wsgi > > <Directory /srv/EdenicConfluence/regnumvisum/apache> > Order deny,allow > Allow from all > </Directory> > </VirtualHost> > > httpd.conf > # WSGIRestrictEmbedded On > > > When I comment out the WSGIDaemonProcess and ProcessGroup it works. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
