Changes

Jump to navigation Jump to search
#To debug:
systemctl status apache2.service
 
To make the blog the default, edit /etc/apache/sites-available-edegan.com.conf, add an alias and change:
RewriteRule ^/*$ %{DOCUMENT_ROOT}/mediawiki/index.php [L]
====Remove the debug setup====
RewriteRule . /blog/index.php [L]
</IfModule>
 
To make the blog the default, edit /etc/apache/sites-available-edegan.com.conf, add an alias:
Alias /blog /var/www/html/blog/index.php
 
And change:
RewriteRule ^/*$ %{DOCUMENT_ROOT}/mediawiki/index.php [L]
 
To:
RewriteRule ^/*$ %{DOCUMENT_ROOT}/blog/index.php [L]
 
Then:
systemctl reload apache2
==Old machines==

Navigation menu