~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-05 02:18:01 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:412
lib/common/makeuser: Removed function makeuser. This top-level function is too
    specific. Callers can decide how to call the various make-user functions.
    make_jail: Added "uid" argument. The caller needs to pass the UID who will
    own the jail. This unties the username from the uid.
    Now chowns and chmods 700 the user's home directory within the jail IF it
    is being created. If the jail already exists it is assumed the user has it
    set up the way they like and it is not disturbed.
makeuser.py: Script now performs top-level actions without calling
    makeuser.makeuser. This script currently creates the unix user itself
    (because the lib version doesn't support that anymore).
    It also checks for root, then calls make_user_db and make_jail.

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