blob: 9a8fe5a1e5bf380952a5af4e5b0f106f0bb0954a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# 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>
|