Archive for October, 2008

Serving the same content on different IP addresses (such as an internal and external address)

Tuesday, October 7th, 2008

copy/paste from Apache VirtualHost examples The server machine has two IP addresses (192.168.1.1 and 172.20.30.40). The machine is sitting between an internal (intranet) network and an external (internet) network. Outside of the network, the name server.example.com resolves to the ...

Protocol New instance for 1 codebase

Tuesday, October 7th, 2008

What to do when you want to add a new virtual host/url to the multi instance Moodle? 1. Edit config.php go to the Moodle codebase document root and add an entry for the new site. Typically this means copy/pasting an old entry and editing parameters for the new site. Make sure that ...

Setup Multi instance codebase

Tuesday, October 7th, 2008

For client setup a multi instance Moodle running on one codebase. Quite straightforward. Things to focus on are config.php and the cron Apache Virtual Host setup I like the way ubuntu and debian setup their httpd.conf in sites-available and sites-enables dirs. I copied that way to our CentOS machines. Created two new directories in ...