Package: phpbb2
Version: 2.0.13-2
Followup-For: Bug #298918

Here's a README.multiboard that should document the process.


Thijs
Setting up multiple boards on one server
----------------------------------------

The phpbb2 package allows for easily setting up different boards on the same
host. The advantage is that the boards share the code base and upgrades of the
package are instantly available to all boards. This feature is quite easy to
implement. This file assumes you're using the Apache web server.

To add a second (or third, ...) board to your install, you need to take the
following steps:
1. Create a new avatars dir under /var/lib/phpbb2, with the same permissions
   as the existing /var/lib/phpbb2 (e.g.: /var/lib/phpbb2/board2_avatars).
2. Create a new database with the same table structure as your first board.
3. Copy /etc/phpbb2/config.php to a new file in the same directory
   (e.g.: /etc/phpbb2/board2_config.php) and put the the new database
   credentials there.
4. Edit /etc/phpbb2/apache2.conf and add:

        Alias /board2 /usr/share/phpbb2/site
        Alias /board2/images/avatars /var/lib/phpbb2/board2_avatars
        <Location /board2>
                php_value auto_prepend_file /etc/phpbb2/board2_config.php
        </Location>

5. Restart Apache.

Your second board is now reachable at http://yourhostname.example.org/board2

If you do not want to create a separate database for each board but rather
want to concentrate them all in one, you only need to give each board a
distinct $table_prefix in config.php; they can easily share a single database.

Multiple boards across virtual hosts is also possible; if you're familiar
with configuring Apache for virtual hosts this shouldn't have to be a
problem.

Reply via email to