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

« back to all changes in this revision

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

  • Committer: me at id
  • Date: 2009-01-15 00:37:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1141
ivle.database.User: Add an authenticate() method, and a hash_password()
     staticmethod to replace the auth functions in ivle.db.

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 *
 
4
ServerAdmin ADMIN@EXAMPLE.COM
 
5
ServerName IVLE.EXAMPLE.COM
 
6
 
 
7
<VirtualHost *>
 
8
    DocumentRoot /usr/local/share/ivle/www
 
9
    ServerName localhost
 
10
    ServerName 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/media">
 
27
        SetHandler None
 
28
    </Directory>
 
29
    <Directory "/usr/local/share/ivle/www/php">
 
30
        SetHandler None
 
31
    </Directory>
 
32
 
 
33
    ErrorLog /var/log/apache2/error.log
 
34
 
 
35
    # Possible values include: debug, info, notice, warn, error, crit,
 
36
    # alert, emerg.
 
37
    LogLevel warn
 
38
 
 
39
    CustomLog /var/log/apache2/access.log combined
 
40
    ServerSignature On
 
41
</VirtualHost>
 
42
 
 
43
<VirtualHost *>
 
44
  ServerName svn.localhost
 
45
  <Location /users>
 
46
    DAV svn
 
47
    SVNParentPath /var/lib/ivle/svn/repositories/users
 
48
    AuthzSVNAccessFile /var/lib/ivle/svn/svn.conf
 
49
    Require valid-user
 
50
    AuthType Basic
 
51
    AuthName "Subversion repository"
 
52
    AuthUserFile /var/lib/ivle/svn/ivle.auth
 
53
  </Location>
 
54
  <Location /groups>
 
55
    DAV svn
 
56
    SVNParentPath /var/lib/ivle/svn/repositories/groups
 
57
    AuthzSVNAccessFile /var/lib/ivle/svn/svn-group.conf
 
58
    Require valid-user
 
59
    AuthType Basic
 
60
    AuthName "Subversion repository"
 
61
    AuthUserFile /var/lib/ivle/svn/ivle.auth
 
62
  </Location>
 
63
</VirtualHost>
 
64