I'm trying to run django on apache2 using mod_wsgi, but when I'm trying to connect "locatoka.ru" I get "Forbidden You don't have permission to access / on this server."
My actions: I added to httpd.conf
LoadModule wsgi_module /usr/local/Cellar/mod_wsgi/3.2/libexec/mod_wsgi.so
changed httpd.conf
WSGIScriptAlias / /Users/Loginov/Desktop/project/project/wsgi.py
<VirtualHost locatoka.ru:80>
ServerName locatoka.ru
ServerAlias www.locatoka.ru
DocumentRoot "/Users/Loginov/Desktop/project"
<Directory /Users/Loginov/Desktop/project/project>
<Files wsgi.py>
Order deny,allow
Require all granted
</Files>
</Directory>
</VirtualHost>
wsgi.py
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings")
application = get_wsgi_application()
I'm using Mac OS X El Capitan and Python3.