I installed a Standard Dokuwiki an Debian 8.5 OS. The hostname is 'company' and it was entered in the DNS of the network. Network cofiguration with static IP.
The DocumentRoot /var/www/dokuwiki. I installed about 20 pages for the test. The user control was not available. Everything was ok otherwise.
My next target was to install a farm constellation for a total of 2 wikis (animals).
Company1 is to point to the wiki1 and company2 on the wiki2.
farm: wikis
farm directory: /var/www/wikis
animals: company1.domain.de and company2.domain.de
anamial directories: /var/www/wikis/company1.domain.de and /var/www/wikis/company2.domain.de
This was the main part of the apache config company1.domain.de.conf:
<VirtualHost *:80>
ServerName company1.domain.de
ServerAdmin
ag@domain.de
DocumentRoot /var/www/dokuwiki
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/ >
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
ag@domain.de
ServerName www.company1.domain.de
Redirect /
http://company1.domain.de
</VirtualHost>
The apache config company2.domain.de.conf war analogous. company1 and company2 are activated in apache2 only. company1 and company2 gets an alias in the DNS.
The inc/preload.php was and the 2 conf/local.protected.php were was configured.
The user access control was made via .htaccess in the documentroot and in the farmdirectory. The .htaccess shows a .htusers with the included users and password configurations.
All webserver company, company1 and company2 runs. The Problem is: all 3 server shows the same wiki.
The files are placed in the path /var/www/dokuwiki/data/pages regardless of where wiki server, the data is edited.
What can I do?