~ubuntu-branches/ubuntu/karmic/phpbb3/karmic

« back to all changes in this revision

Viewing changes to debian/apache.conf

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-04-22 01:13:42 UTC
  • Revision ID: james.westby@ubuntu.com-20080422011342-2y2f8gy0f6oqk5uc
Tags: 3.0.1-1
* New upstream bugfix release.
* Add Portuguese debconf translation thanks to Miguel Figueiredo
  (Closes: #470112)
* Fix PostgreSQL schema to strip out hash-style comments
  (Closes: #461117).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Note: order matters
 
2
Alias /phpbb/images/avatars /var/lib/phpbb3/avatars
 
3
Alias /phpbb /usr/share/phpbb3/www
 
4
 
 
5
<Directory /usr/share/phpbb3/www/>
 
6
        <IfModule mod_php4.c>
 
7
                php_flag register_globals off
 
8
        </IfModule>
 
9
        <IfModule mod_php5.c>
 
10
                php_flag register_globals off
 
11
        </IfModule>
 
12
 
 
13
        Options -Indexes +FollowSymlinks
 
14
 
 
15
        DirectoryIndex index.php
 
16
 
 
17
        AllowOverride None
 
18
        order allow,deny
 
19
        allow from all
 
20
</Directory>
 
21
 
 
22
# For a second board on the same server (see README.multiboard for details):
 
23
#
 
24
#Alias /second_board/images/avatars /var/lib/phpbb3/board2_avatars <<< create!
 
25
#Alias /second_board /usr/share/phpbb3/www
 
26
#<Location /second_board>
 
27
#       php_value auto_prepend_file /etc/phpbb3/alternative_config.php
 
28
#</Location>
 
29
 
 
30
# For virtual host:
 
31
#<VirtualHost *>
 
32
#       # For using an alternative database (for multiple boards for example)
 
33
#       php_value auto_prepend_file /etc/phpbb3/virtualhost_config.php
 
34
#
 
35
#       ServerName forum.example.com
 
36
#       DocumentRoot /usr/share/phpbb3/www
 
37
#       # You may need to workaround the global /images/ alias in your apache
 
38
#       # configuration, your mileage may vary
 
39
#       Alias /images/avatars /var/lib/phpbb3/avatars
 
40
#       Alias /images /usr/share/phpbb3/www/images
 
41
#</VirtualHost>