Когда запускаю httpd вылетает ошибка:
AH00526: Syntax error on line 363 of /etc/httpd/conf/httpd.conf:
WSGIPythonPath cannot occur within <VirtualHost> section
Project:
~/shudry-virtual
|------Shudry_Project
| ............ |------manage.py
| ............ |------Shudry_Project
| .............................. |------settings.py
| ...............................|------wsgi.py
|------bin
|------lib
Дополнение в conf/httpd.conf<virtualhost IP_HOST:80>
ServerName domain.com
ServerAlias www.domain.com
WSGIScriptAlias / /shudry-virtual/Shudry_Project/Shudry_Project/wsgi.py
WSGIPythonPath /shudry-virtual/Shudry_Project:/shudry-virtual/lib/python2.7/site-packages
WSGIDaemonProcess Shudry_Project python-path=/shudry-virtual/Shudry_Project:/shudry-virtual/lib/python2.7/site-packages
WSGIProcessGroup Shudry_Project
<Directory /shudry-virtual/Shudry_Project/Shudry_Project>
<Files wsgi.py>
Order deny,allow
Require all granted
</Files>
</Directory>
</virtualhost>