- a dedicated course directory, that needs being accessible from chamilo installation root (directly, or using symlinks). the name
of this directory is free, as it will be mapped into the vchamilo record.
- a dedicated home page directory, that is located into <chamiloroot>/home directory and is named
as the chamilo instance domain name.
- a vchamilo record into the vchamilo table of the master installation. (the master installation is the install that refers to
the effective "configuration.php" information.
- an appropriate multiroot home root setup in the local chamilo instance
Prerequisites for VChamilo working nice
-------------
Multiple URL access must be enabled:
And add (or uncomment) the line to enable multi-url:
```
# in <chamiloroot>/main/inc/config/configuration.php
$_configuration['multiple_access_urls'] = true;
```
At this point, make sure there is no caching mechanism maintaining the previous configuration
version before you continue. Enabling the multi-url option should have the immediate effect
of adding a multi-url management link at the bottom of the "Platform" block in the
administration main page.
Take a moment to update the configuration of the default host in the multi-url configuration page
to the real hostname of your main (controller) portal.
2. Change the permissions on the <chamiloroot>/plugin/vchamilo/templates/ directory as it will
be necessary for the plugin to create files and directories there
3. Create a common directory to be used for all Chamilo-related files.
We recommend using <chamiloroot>/var/ for that. Inside that directory, create the following 4
directories: cache/, courses/, home/ and upload/ and give permissions to the web user to write
into them (exactly the same way you did it for the app/ directory when installing Chamilo)
4. Enable and configure the plugin in the Chamilo administration's plugins list
(if in doubt, use the suggested values). Please note that the proxy configuration part is
totally optional and is not maintained by the Chamilo team at this point.
5. Enable additional virtual hosts in your Apache config (unless you use subdirectories). All virtual hosts should point to the same DocumentRoot as the initial Chamilo installation.
6. For each virtual host or subdirectory, you will need to configure specific redirection rules (remember, this is still at beta-level):
In the administration, you will need configure an adequate home root definition for the instance finding
the dedicated home directory. You just need editing the http://localhost default host, and give the real domain