How do I do a MultiTiki setup on IIS? Posted by nick5000 10 Jul 2004 16:42 UTC Hello, I would like to host multiple tikis on one IIS webserver. Has anyone figured out a way to do this? I've read the MultiTiki19 wiki, but it only has instructions for Linux. I'm running Tiki 1.9 RC2 Thanks!
Posted by Damian Parker 10 Jul 2004 21:11 UTC I guess its possible. Some basic pointers to how its done on apache. basically, you define the several websites to point to one set of tiki files. In apache, this can be done through seperate VirtualHost blocks or using the ServerAlias parameter. I guess using IIS there is something similar to a ServerAlias. Where a website can listen on more than one hostname. Then in the local.php, you write some scripting, there are examples on tw.o that basically looks at the _SERVER environment variable SERVER_NAME or HTTP_HOST depending on your webserver and sets the database user/pass and name accordingly. Simple but highly effective. Damian
Posted by nick5000 11 Jul 2004 01:31 UTC OK, I got it working with just two different tiki folders. I made a copy of the folder of my first tiki site and gave it a new name. At first I couldn't get it working because it refused to change the db settings in tiki-install.php, but editing it in local.php got it to work. Thanks a lot!
Posted by Damian Parker 12 Jul 2004 18:49 UTC Two different tiki folders means two copies of the source code installed ❓ MultiTiki is one copy of the sourcecode serviing multiple domains. Damian