History: MultitikiWindowsXP
Preview of version: 8
Original Configuration: EasyPHP + Tikiwiki 1.9
Since most of the setup in Multitiki (setup.sh) is a Unix/Linux script, it cannot be run under Windows unless you have installed unix commands on Windows XP (there is a software for that). So most of the procedures to do multitiki under Windows must be done manually.
1°) First step - Setup your local subdomains
Add your subdomains name to your host file. It should be located in
C:\Windows\System32\Drivers\etc\hosts
Add in the hosts files:
127.0.0.1 localhost
127.0.0.1 subdomain1.localhost
127.0.0.1 subdomain2.localhost
(localhost can be replaced by another name)
2°) Add a file called "virtuals.inc" in tiki/db/ directory
and add the differents subdomains in the file
subdomain1.localhost
subdomain2.localhost
Create accordingly the directories subdomain1.localhost, subdomain2.localhost in your tiki/db directory.
Then copy the local.php in the different directories and modify them to select accordingly which database to use.
<?php $db_tiki='mysql'; $dbversion_tiki='1.9'; $host_tiki='localhost'; $user_tiki='root'; $pass_tiki=''; $dbs_tiki='tikidatabasetouse'; ?>
3°) Modify your Apache configuration (with Easy-Php or check httpd.conf in conf_files directory of EasyPHP)
Add following lines:
NameVirtualHost *:80 <VirtualHost *:80> ServerName subdomain1.localhost DocumentRoot ${path}/www </VirtualHost> <VirtualHost *:80> ServerName subdomain2.localhost DocumentRoot ${path}/www/tiki # path to the tiki directory </VirtualHost>
4°) Restart your Apache server
5°) Type your subdomain.localhost in your browser
and create a 'subdomain.localhost' directory in different directories needed to be created.