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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-07-21 05:25:48 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:920
userdb: Added to table "offering" fields max_students_per_group and
    max_groups_per_student.

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