Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Daemon process cannot be accessed by this WSGI application: /mod.wsgi

Why do I get this error?

Daemon process called 'dom_server' cannot be accessed by this WSGI application: /home/stakkit/webapps/dom_server/dom-fisica.wsgi

The dom-fisica.wsgi file:

import os
import sys
#sys.path.append('/home/stakkit/webapps/dom_server')
sys.path.append('/home/stakkit/webapps/dom_server/osqa')
os.environ['DJANGO_SETTINGS_MODULE'] = 'osqa.settings_fisica'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

This is my httpd.conf http://pastebin.com/dQfq1RTN

Thanks!

like image 462
Adam Avatar asked Dec 26 '22 19:12

Adam


1 Answers

Move the WSGIDaemonProcess outside of the VirtualHost to global scope.

You can only reach across VirtualHost's like you are if it is a 80/443 pair for he same site.

like image 125
Graham Dumpleton Avatar answered Dec 29 '22 08:12

Graham Dumpleton