# Note: order matters
Alias /phpbb/images/avatars /var/lib/phpbb2/avatars
Alias /phpbb /usr/share/phpbb2/site

<Directory /usr/share/phpbb2/site/>
	<IfModule mod_php4.c>
		php_flag register_globals off
	</IfModule>
	<IfModule mod_php5.c>
		php_flag register_globals off
	</IfModule>

	Options -Indexes +FollowSymlinks

	DirectoryIndex index.php

	AllowOverride None
	order allow,deny
	allow from all
</Directory>

# For a second board on the same server (see README.multiboard for details):
#
#Alias /second_board/images/avatars /var/lib/phpbb2/board2_avatars <<< create!
#Alias /second_board /usr/share/phpbb2/site
#<Location /second_board>
#	php_value auto_prepend_file /etc/phpbb2/alternative_config.php
#</Location>

# For virtual host:
#<VirtualHost *>
#	# For using an alternative database (for multiple boards for example)
#	php_value auto_prepend_file /etc/phpbb2/virtualhost_config.php
#
#	ServerName forum.example.com
#	DocumentRoot /usr/share/phpbb2/site
#  	# You may need to workaround the global /images/ alias in your apache
#  	# configuration, your mileage may vary
#  	Alias /images/avatars /var/lib/phpbb2/avatars
#  	Alias /images /usr/share/phpbb2/site/images
#</VirtualHost>
