[phpBB] svn: r39 - trunk/phpbb2

jeroen at wolffelaar.nl jeroen at wolffelaar.nl
Thu Feb 5 02:41:01 CET 2004


Author: jeroen
Date: 2004-02-05 02:40:42 +0100 (Thu, 05 Feb 2004)
New Revision: 39

Modified:
   trunk/phpbb2/TODO
   trunk/phpbb2/apache.conf
   trunk/phpbb2/rules
Log:
Fix directoryindex, and avatar location

Modified: trunk/phpbb2/TODO
===================================================================
--- trunk/phpbb2/TODO	2004-02-05 01:10:00 UTC (rev 38)
+++ trunk/phpbb2/TODO	2004-02-05 01:40:42 UTC (rev 39)
@@ -11,9 +11,6 @@
 
 --Jeroen
 
-Critical for first-time release:
-- [RC] Make sure avatars are not put on /usr
-
 Normal TODO's:
 - Multiboard security okay? Yes.
 - PostgreSQL setup

Modified: trunk/phpbb2/apache.conf
===================================================================
--- trunk/phpbb2/apache.conf	2004-02-05 01:10:00 UTC (rev 38)
+++ trunk/phpbb2/apache.conf	2004-02-05 01:40:42 UTC (rev 39)
@@ -1,5 +1,6 @@
 <IfModule mod_php4.c>
 	Alias /phpbb /usr/share/phpbb2
+	Alias /phpbb/images/avatars /var/lib/phpbb2/avatars
 </IfModule>
 
 <DirectoryMatch /usr/share/phpbb2/>
@@ -7,13 +8,16 @@
 		php_flag register_globals off
 	</IfModule>
 
+	DirectoryIndex index.php index.htm
+
 	AllowOverride None
 	order allow,deny
 	allow from all
 </DirectoryMatch>
 
 # For a second board on the same server:
-#Alias /second_boad /usr/share/phpbb2
+#Alias /second_board /usr/share/phpbb2
+#Alias /second_board/images/avatars /var/lib/phpbb2/board2_avatars <<< create!
 #<Location /second_board>
 #	php_value auto_prepend_file /etc/phpbb2/alternative_config.php
 #</Location>
@@ -25,4 +29,5 @@
 #
 #	ServerName forum.example.com
 #	DocumentRoot /usr/share/phpbb2
+#  	Alias /images/avatars /var/lib/phpbb2/avatars
 #</VirtualHost>

Modified: trunk/phpbb2/rules
===================================================================
--- trunk/phpbb2/rules	2004-02-05 01:10:00 UTC (rev 38)
+++ trunk/phpbb2/rules	2004-02-05 01:40:42 UTC (rev 39)
@@ -59,6 +59,10 @@
 	gzip -9 debian/phpbb2/usr/share/doc/phpbb2/FAQ{,.html}
 	dh_installexamples
 	dh_install
+	mkdir -p debian/phpbb2/var/lib/phpbb2
+	mv debian/phpbb2/usr/share/phpbb2/images/avatars debian/phpbb2/var/lib/phpbb2
+	chgrp www-data debian/phpbb2/var/lib/phpbb2
+	chmod g=wx,o= debian/phpbb2/var/lib/phpbb2
 #	dh_installmenu
 	dh_installdebconf	
 #	dh_installlogrotate





More information about the phpBB-l mailing list