User Tools

Site Tools


sermn_wiki:userpages:marta:phpbb3_3.0.7-pl1-4_readme-multiboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
sermn_wiki:userpages:marta:phpbb3_3.0.7-pl1-4_readme-multiboard [2011/04/29 12:54]
miquel
sermn_wiki:userpages:marta:phpbb3_3.0.7-pl1-4_readme-multiboard [2011/04/29 12:58]
miquel
Line 65: Line 65:
 If you want to have multiple boards using virtual hosts, and have each board use a separate database, then instead of the above, do the following: If you want to have multiple boards using virtual hosts, and have each board use a separate database, then instead of the above, do the following:
  
-==== 1. Edit /etc/phpbb3/virtualhost_config.php as follows ====+==== /etc/phpbb3/virtualhost_config.php ==== 
 + 
 +Edit /etc/phpbb3/virtualhost_config.php as follows
  
 <code php> <code php>
Line 110: Line 112:
 </code> </code>
  
-==== 2. Uncomment the <VirtualHost *:80> section in Apache configuration file(s) ====+==== <VirtualHost *:80> section in Apache ====
  
 Uncomment the ''<VirtualHost *:80>'' section in Apache configuration file ''/etc/phpbb3/apache.conf'' and make an appropriate change to ServerName Uncomment the ''<VirtualHost *:80>'' section in Apache configuration file ''/etc/phpbb3/apache.conf'' and make an appropriate change to ServerName
Line 121: Line 123:
 to the same config file. to the same config file.
  
-==== 3. Add additional <VirtualHost *:80> sections to apache.conf ====+==== Additional <VirtualHost *:80> sections to apache.conf ====
  
 Add additional ''<VirtualHost *:80>'' sections to ''apache.conf'' as necessary for each of your intended phpbb3 boards. Each VirtualHost section Add additional ''<VirtualHost *:80>'' sections to ''apache.conf'' as necessary for each of your intended phpbb3 boards. Each VirtualHost section
Line 156: Line 158:
  
 ==== Avatar Upload ==== ==== Avatar Upload ====
- 
-============= 
  
 Avatar uploads go to the ''/var/lib/phpbb3/images/avatars/upload/'' folder. Since this folder is common to all boards, there would be conflicts as the uploads are stored by //userid//, which can be the same in different forum instances. Avatar uploads go to the ''/var/lib/phpbb3/images/avatars/upload/'' folder. Since this folder is common to all boards, there would be conflicts as the uploads are stored by //userid//, which can be the same in different forum instances.
Line 187: Line 187:
 ==== Attachments ==== ==== Attachments ====
  
-=========== +Attachments to posts are stored in ''/var/lib/phpbb3/files/''
-Attachments to posts are stored in /var/lib/phpbb3/files/.+ 
 +Since these filenames are generated by md5() and microtime(), there is not much need to worry about collisions.
  
-Since these filenames are generated by md5() and microtime(), there is +As far as security is concerned, the files have permissions -rw-rw-rw- but the directory has only drwx-wx-wt, so noone can list them. The 
-not much need to worry about collisions.+forum a specific file belongs to knows its exact name (in the 'attachments' table), and thus can access it.
  
-As far as security is concerned, the files have permissions -rw-rw-rw- +==== Styles ====
-but the directory has only drwx-wx-wt, so noone can list them. The +
-forum a specific file belongs to knows its exact name (in the +
-'attachments' table), and thus can access it.+
  
-Styles +All styles (from ''/etc/phpbb3/styles'') are available for every board.
-====== +
-All styles (from /etc/phpbb3/styles) are available for every board.+
  
  
sermn_wiki/userpages/marta/phpbb3_3.0.7-pl1-4_readme-multiboard.txt · Last modified: 2011/04/29 13:26 by miquel