```bash
# Enable the virtualhost
-sudo a2ensite shaarli
+sudo a2ensite shaarli.mydomain.org
# mod_ssl must be enabled to use TLS/SSL certificates
# https://httpd.apache.org/docs/current/mod/mod_ssl.html
# https://httpd.apache.org/docs/current/mod/mod_rewrite.html
sudo a2enmod rewrite
+# mod_headers must be enabled to set custom headers from the server config
+sudo a2enmod headers
+
# mod_version must only be enabled if you use Apache 2.2 or lower
# https://httpd.apache.org/docs/current/mod/mod_version.html
# sudo a2enmod version