File: apache.conf

package info (click to toggle)
phpbb2 2.0.21-6
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 4,224 kB
  • ctags: 12
  • sloc: sh: 476; makefile: 108; perl: 29; php: 21
file content (41 lines) | stat: -rw-r--r-- 1,197 bytes parent folder | download | duplicates (2)
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
# 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>