~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-12-14 04:17:46 UTC
  • Revision ID: me@williamgrant.id.au-20091214041746-eurw04xssf4cvszc
Add ivle-dev-setup, a script to do most of the heavy lifting when setting up a new dev installation.

Show diffs side-by-side

added added

removed removed

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