0
Ich habe mod_wsgi mit Apache konfiguriert, aber ich bekomme 403 als Antwort verboten.Apache2 403 Forbidden
Dies ist Fehler, die ich im Protokoll sehen:
Symbolic link not allowed or link target not accessible: /mnt/myapp/current
Dies ist, wie meine Apache-Konfiguration wie folgt aussieht:
<VirtualHost *:443>
ServerName somedomain.com
ServerAlias www.somedomain.com
<Directory /mnt/myapp/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
<Directory /mnt/myapp/current/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Require all granted
</Directory>
# Django Application
Alias /static /mnt/myapp/current/static
<Directory /mnt/myapp/current/static>
Options FollowSymLinks
Require all granted
</Directory>
<Directory /mnt/myapp/current/myproject/apache>
<Files wsgi.py>
Options FollowSymLinks
Require all granted
</Files>
</Directory>
WSGIDaemonProcess grapevine python-path=/mnt/myapp/current:/mnt/env/lib/python3.4/site-packages
WSGIProcessGroup myproject
WSGIScriptAlias//mnt/myapp/current/myproject/apache/wsgi.py
SSLEngine on
SSLCertificateFile /home/myapp/myapp.com.crt
SSLCertificateKeyFile /home/myapp/myapp.com.key
SSLCertificateChainFile /home/myapp/myapp.crt
</VirtualHost>
Kann jemand Rat, was das Problem sein kann?