Changes

Jump to navigation Jump to search
ServerName www.edegan.com
ServerAdmin ed@edegan.com
DocumentRoot /var/www/html
 
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
 
#Old config -- REM but keep for debug
#Alias /wiki /var/www/html/mediawiki/index.php
#RewriteEngine On
#RewriteRule ^/*$ %{DOCUMENT_ROOT}/mediawiki/index.php [L]
 
Redirect permanent / https://www.edegan.com
</VirtualHost>
<VirtualHost *:443>
ServerName www.edegan.com
 
Protocols h2 http/1.1
 
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
 
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/edegan.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/edegan.com/privkey.pem
 
# Other Apache Configuration
Alias /wiki /var/www/html/mediawiki/index.php

Navigation menu