WSGIScriptAlias / /var/www/sciodog.fr/sciodog/wsgi.py WSGIPythonHome /var/www/sciodog.fr/venv WSGIPythonPath /var/www/sciodog.fr LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so Alias /static /var/www/sciodog.fr/blog/static/ Require all granted ServerName sciodog.fr Require all granted LogLevel info ErrorLog /var/log/apache2/django-error.log CustomLog /var/log/apache2/django-access.log combined RewriteEngine on RewriteCond %{SERVER_NAME} =sciodog.fr RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]