Answer the question
In order to leave comments, you need to log in
Problem installing Django project on VPS?
When I start httpd I get this error:
AH00526: Syntax error on line 363 of /etc/httpd/conf/httpd.conf:
WSGIPythonPath cannot occur within <VirtualHost> section
<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>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question