Im trying to Move my wiki from the normal /var/www/html to a , /var/www/wiki.domain.tld
Before the change it was reachable under domain.tld/index.php and there was no other virtualhost running. Now it should be reachable under wiki.domain.tld. Additionally there is another virtualhost running. It did work at one point when the other virtualhost was disabled but when I enabled it it stopped working.
The wiki does Show up but all the content is missing. If I click on edit I see the content but not safe it.
I’m using mediawiki 1.26.3, apache2 and debian 8.5
I tried out some rewrite mod stuff but i just ended up with a 404 or failed apache2 restart
The following is my virtualhost conf:
<VirtualHost *:80>
ServerAdmin #######
ServerName wiki.domain.tld
DocumentRoot /var/www/wiki.domain.tld
DirectoryIndex index.php
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Edit: Solution to my problem is removing the line $wgServer = ""; from LocalSetttings.php