Назад | Перейти на главную страницу

Ошибка доступа запрещенных (403) разрешений на Apache2.4 на компьютере с Windows

Я запускаю свое приложение Django на Apache2.4.38. Я предоставил все необходимые параметры и доступ к серверу Apache. Тем не менее, я получаю сообщение об ошибке 403, когда пытаюсь получить доступ к URL-адресу приложения.

httpd-vhosts.conf:

Listen 8084
WSGIPythonPath "D:/WebAttendance/"
<VirtualHost *:8084>

 SSLEngine on
 SSLCertificateFile "D:/Desktop/Python/WebAttendance/certs/development.crt"
 SSLCertificateKeyFile "D:/Desktop/Python/WebAttendance/certs/development.key"

    WSGIScriptAlias / "D:/Desktop/Python/WebAttendance/WebAttendance/wsgi.py"
 DocumentRoot "D:/Desktop/Python/WebAttendance"

    <Directory "D:/Desktop/Python/WebAttendance/">
     <Files wsgi.py>
         AllowOverride All
         Require all granted
     </Files>
    </Directory>

    <Directory "D:/Desktop/Python/WebAttendance/home/static/">
 Require all granted
 </Directory>
    Alias /static "D:/Desktop/Python/WebAttendance/home/static"

    ErrorLog "D:/Desktop/Python/WebAttendance/log/error.log"
 CustomLog "D:/Desktop/Python/WebAttendance/log/access.log" common
</VirtualHost>

Ошибка:

Запрещено У вас нет разрешения на доступ к этому серверу.