# Note: order matters
Alias /phpbb/images /var/lib/phpbb3/images
Alias /phpbb /usr/share/phpbb3/www

<Directory /usr/share/phpbb3/www/>
	<IfModule mod_php5.c>
		php_flag register_globals off
	</IfModule>

	Options -Indexes +FollowSymlinks

	DirectoryIndex index.php

	<IfVersion >= 2.3>
		Require all granted
	</IfVersion>
	<IfVersion < 2.3>
		AllowOverride None
		order allow,deny
		allow from all
	</IfVersion>
</Directory>
<Directory /var/lib/phpbb3/images>
	<IfVersion >= 2.3>
		Require all granted
	</IfVersion>
	<IfVersion < 2.3>
		AllowOverride None
		order allow,deny
		allow from all
	</IfVersion>
</Directory>

### Multisite examples (see README.multiboard for details)

# For a second board on the same server using aliases:
#
#Alias /second_board/images /var/lib/phpbb3/images ### create!
#Alias /second_board /usr/share/phpbb3/www
#<Location /second_board>
#	php_value auto_prepend_file /etc/phpbb3/alternative_config.php
#</Location>

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