Line 330:
Line 330:
OFF and OBF share the same code (except some configuration in the Config.pm and SiteLang.pm modules), but the code is not made to run two separate servers.
OFF and OBF share the same code (except some configuration in the Config.pm and SiteLang.pm modules), but the code is not made to run two separate servers.
So we need two run two separate instances of Apache, one for OFF and one for OBF. This also allows to restart one but not the other, to run different versions of the code etc.
So we need two run two separate instances of Apache, one for OFF and one for OBF. This also allows to restart one but not the other, to run different versions of the code etc.
+
+
Note: we use the off user for both OFF and OBF so that OBF can read and write in /home/off/users
There is some support to run multiple Apache instances. Documentation is in /usr/share/doc/apache2/README.multiple-instances
There is some support to run multiple Apache instances. Documentation is in /usr/share/doc/apache2/README.multiple-instances