From a8c22829d8e8845cd4ddf4ef8b61a1ed79edfffc Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Mon, 12 Mar 2018 22:57:42 +0100 Subject: Imported from the SVN repository http://svn.wolffelaar.nl/wsvn/phpbb/branches/jessie/ Signed-off-by: Olivier Gayot --- debian/examples/apache2.conf | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 debian/examples/apache2.conf (limited to 'debian/examples/apache2.conf') diff --git a/debian/examples/apache2.conf b/debian/examples/apache2.conf new file mode 100644 index 0000000..9a8fe5a --- /dev/null +++ b/debian/examples/apache2.conf @@ -0,0 +1,54 @@ +# Note: order matters +Alias /phpbb/images /var/lib/phpbb3/images +Alias /phpbb /usr/share/phpbb3/www + + + + php_flag register_globals off + + + Options -Indexes +FollowSymlinks + + DirectoryIndex index.php + + = 2.3> + Require all granted + + + AllowOverride None + order allow,deny + allow from all + + + + = 2.3> + Require all granted + + + AllowOverride None + order allow,deny + allow from all + + + +### 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 +# +# php_value auto_prepend_file /etc/phpbb3/alternative_config.php +# + +# For virtual host: +# +# # 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 +# -- cgit v1.2.3