Я выполнил шаги, описанные в разделе «Как обслуживать приложения Django с помощью Apache и mod_wsgi в CentOS 7».
Но на последнем этапе, когда я запускаю Сервер Apache с командой: service httpd start вместо systemctl start httpd, потому что согласно руководству у меня Centos 6.7, а не CentOS 7.
Выдает следующую ошибку:
Код: Выделить всё
Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/django.conf:
Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module ot included in the server configuration
Код: Выделить всё
Alias /static /home/ftpispy/ispy/static
Require all granted
Require all granted
WSGIDaemonProcess ispy python-path=/home/ftpispy/ispy:/home/ftpispy/ispy/venv/lib/python2.7/site-packages
WSGIProcessGroup ispy
WSGIScriptAlias / /home/ftpispy/ispy/ispy/wsgi.py
Подробнее здесь: https://stackoverflow.com/questions/333 ... centos-6-7
Мобильная версия