[phpBB] svn: r188 - trunk/phpbb2

kink at wolffelaar.nl kink at wolffelaar.nl
Tue Mar 29 22:24:01 CEST 2005


Author: kink
Date: 2005-03-29 22:23:18 +0200 (Tue, 29 Mar 2005)
New Revision: 188

Added:
   trunk/phpbb2/README.multiboard
Modified:
   trunk/phpbb2/changelog
   trunk/phpbb2/docs
Log:
  * Add README.multiboard: documentation for setting up multible boards on
    the same host (Closes: #298918)


Added: trunk/phpbb2/README.multiboard
===================================================================
--- trunk/phpbb2/README.multiboard	2005-03-13 18:13:03 UTC (rev 187)
+++ trunk/phpbb2/README.multiboard	2005-03-29 20:23:18 UTC (rev 188)
@@ -0,0 +1,35 @@
+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.

Modified: trunk/phpbb2/changelog
===================================================================
--- trunk/phpbb2/changelog	2005-03-13 18:13:03 UTC (rev 187)
+++ trunk/phpbb2/changelog	2005-03-29 20:23:18 UTC (rev 188)
@@ -1,3 +1,10 @@
+phpbb2 (2.0.13-3) unstable; urgency=low
+
+  * Add README.multiboard: documentation for setting up multible boards on
+    the same host (Closes: #298918)
+
+ -- Jeroen van Wolffelaar <jeroen at wolffelaar.nl>  Tue, 29 Mar 2005 22:20:53 +0200
+
 phpbb2 (2.0.13-2) unstable; urgency=high
 
   * [CAN-2005-0673] Fix cross-side-scripting in private message signatures

Modified: trunk/phpbb2/docs
===================================================================
--- trunk/phpbb2/docs	2005-03-13 18:13:03 UTC (rev 187)
+++ trunk/phpbb2/docs	2005-03-29 20:23:18 UTC (rev 188)
@@ -2,3 +2,4 @@
 debian/build/phpBB2/docs/README.html
 debian/UPGRADING.Debian
 debian/README.templates
+debian/README.multiboard





More information about the phpBB-l mailing list