
Настройка конфигурации apache24
<VirtualHost *:80> ServerName "podomen.example.com" # Django Project LoadFile "D:/App/Python3.7.8/python37.dll" LoadModule wsgi_module "D:/App/Python3.7.8/Lib/site-packages/mod_wsgi/server/mod_wsgi.cp37-win_amd64.pyd" WSGIPythonHome "D:/App/Python3.7.8" WSGIScriptAlias / "d:/domains/example.com/django/webproject/wsgi.py" WSGIPythonPath "d:/domains/example.com/django/" <Directory "d:/domains/example.com/django/webproject/"> <Files wsgi.py> Require all granted </Files> </Directory> Alias /static "d:/domains/example.com/django/static/" <Directory "d:/domains/example.com/django/static/"> Require all granted </Directory> </VirtualHost>