~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/setup/ivle-both.conf

  • Committer: William Grant
  • Date: 2009-02-18 02:02:06 UTC
  • mto: (1092.1.63 setup-stuff)
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: grantw@unimelb.edu.au-20090218020206-3rguobhjx8k7ue26
Add documentation and patches for phpBB3 integration.

Drop the phpBB3 database dumps, as the administrator should run the
installation procedure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Custom IVLE Apache config script
2
2
# Configures IVLE at the root of the site.
3
 
NameVirtualHost *
 
3
NameVirtualHost *:80
4
4
ServerAdmin ADMIN@EXAMPLE.COM
5
5
ServerName IVLE.EXAMPLE.COM
6
6
 
7
 
<VirtualHost *>
8
 
    DocumentRoot /opt/ivle/www
 
7
<VirtualHost *:80>
 
8
    DocumentRoot /usr/local/share/ivle/www
9
9
    ServerName localhost
10
 
    ServerName public.localhost
 
10
    ServerAlias public.localhost
11
11
    <Directory />
12
12
        Options FollowSymLinks
13
13
        AllowOverride None
14
14
    </Directory>
15
 
    <Directory "/opt/ivle/www/">
 
15
    <Directory "/usr/local/share/ivle/www/">
16
16
        AllowOverride None
17
17
        Order allow,deny
18
18
        allow from all
19
19
        SetHandler mod_python
20
 
        PythonHandler dispatch
 
20
        PythonHandler ivle.dispatch
21
21
        #PythonDebug On
22
22
        Options FollowSymLinks
23
 
        PythonOption mod_python.file_session.database_directory /home/informatics/sessions
 
23
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
24
24
        PythonOption mod_python.session.cookie_name ivle
25
25
    </Directory>
26
 
    <Directory "/opt/ivle/www/media">
27
 
        SetHandler None
28
 
    </Directory>
29
 
    <Directory "/opt/ivle/www/php">
30
 
        SetHandler None
31
 
    </Directory>
32
26
 
33
27
    ErrorLog /var/log/apache2/error.log
34
28
 
40
34
    ServerSignature On
41
35
</VirtualHost>
42
36
 
43
 
<VirtualHost *>
 
37
<VirtualHost *:80>
44
38
  ServerName svn.localhost
45
39
  <Location /users>
46
40
    DAV svn
47
 
    SVNParentPath /home/informatics/repositories/users
48
 
    AuthzSVNAccessFile /opt/ivle/svn/svn.conf
 
41
    SVNParentPath /var/lib/ivle/svn/repositories/users
 
42
    AuthzSVNAccessFile /var/lib/ivle/svn/svn.conf
49
43
    Require valid-user
50
44
    AuthType Basic
51
45
    AuthName "Subversion repository"
52
 
    AuthUserFile /opt/ivle/svn/ivle.auth
 
46
    AuthUserFile /var/lib/ivle/svn/ivle.auth
53
47
  </Location>
54
48
  <Location /groups>
55
49
    DAV svn
56
 
    SVNParentPath /home/informatics/repositories/groups
57
 
    AuthzSVNAccessFile /opt/ivle/svn/svn-group.conf
 
50
    SVNParentPath /var/lib/ivle/svn/repositories/groups
 
51
    AuthzSVNAccessFile /var/lib/ivle/svn/svn-group.conf
58
52
    Require valid-user
59
53
    AuthType Basic
60
54
    AuthName "Subversion repository"
61
 
    AuthUserFile /opt/ivle/svn/ivle.auth
 
55
    AuthUserFile /var/lib/ivle/svn/ivle.auth
62
56
  </Location>
63
57
</VirtualHost>
64
58