On my old server with apache2.2 I use mod_wsgi in daemon mode without problems. I use this configuration in the virtual host part of httpd.conf:
WSGIDaemonProcess stacaravan user=stacaravan group=stacaravan threads=25 WSGIProcessGroup stacaravan WSGIScriptAlias / /home/stacaravan/stacaravan/stacaravan/wsgi.py On my new server I use Apache2.4 with mod_wsgi-4.3.2 Without daemon mode everything works fine, but with daemon mode I got this error: [wsgi:error] [pid 13199] (13)Permission denied: [client 81.58.150.99:58714] mod_wsgi (pid=13199): Unable to connect to WSGI daemon process 'stacaravan' on '/tmp.13194.0.2.sock'., referer: I solved this by making a /var/run/apache2 directory with 755 permission, and use the WSGISocketPrefix run/apache2 directive (Is this the right way to solve?) When I add "WSGIProcessGroup stacaravan" to the httpd.conf of the virtual server I get the following error: [wsgi:error] [pid 13915] [client 81.58.150.99:58850] No WSGI daemon process called 'stacaravan' has been configured: /home/stacaravan/stacaravan/stacaravan/wsgi.py Any help is highly appreciated. - OS debian 7.7 - Custombuild apache 2.4 (Directadmin) - Mod_wsgi version: 4.3.2 (compiled) - used with Django 1.7 -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
