~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-02-19 00:54:28 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:500
db: get_user and get_users now return User objects instead of dictionaries.
    This is the major part of replacing dicts with User objects, as it
    propagates upwards.

Propagated User objects up through the following modules:
    listusers.py, dispatch.login, authenticate, userservice, forumutil
All of these now treat users as an object rather than a dict.

To save on the size of the changes so far, login still individually copies
fields over to the session (so the session does not yet store a user object;
that is the second part of this refactor).

WOO!! Revision 500 :)

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
 
 
16
 
    <Location />
17
 
        Order allow,deny
18
 
        Allow from all
19
 
        SetHandler mod_python
20
 
        PythonHandler ivle.dispatch
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>
25
 
 
26
 
    ErrorLog /var/log/apache2/error.log
27
 
 
28
 
    # Possible values include: debug, info, notice, warn, error, crit,
29
 
    # alert, emerg.
30
 
    LogLevel warn
31
 
 
32
 
    CustomLog /var/log/apache2/access.log combined
33
 
    ServerSignature On
34
 
</VirtualHost>
35
 
 
36
 
<VirtualHost *:80>
37
 
  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
55
 
  </Location>
56
 
</VirtualHost>
57