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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

  • Committer: chadnickbok
  • Date: 2009-01-22 02:14:14 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1173
Fixes Issue #14

When uploading files, students will now be shown an
error message if there upload would replace already existing
files.

This upload will not be performed until it will not clobber
any old files.

Note that there is currently a way to change this behaviour in
the code in action.py, to allow files to be overwritten. However
there is no way this flag can be set through the browser interface
(yet).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Custom IVLE Apache config script
2
 
:q
3
2
# Configures IVLE at the root of the site.
4
 
NameVirtualHost *:80
 
3
NameVirtualHost *
5
4
ServerAdmin ADMIN@EXAMPLE.COM
6
5
ServerName IVLE.EXAMPLE.COM
7
6
 
8
 
<VirtualHost *:80>
 
7
<VirtualHost *>
9
8
    DocumentRoot /usr/local/share/ivle/www
10
9
    <Directory />
11
10
        Options FollowSymLinks
12
11
        AllowOverride None
13
12
    </Directory>
14
 
 
15
 
    <Location />
 
13
    <Directory "/usr/local/share/ivle/www/">
 
14
        AllowOverride None
16
15
        Order allow,deny
17
 
        Allow from all
 
16
        allow from all
18
17
        SetHandler mod_python
19
18
        PythonHandler ivle.dispatch
20
19
        #PythonDebug On
 
20
        Options FollowSymLinks
21
21
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
22
22
        PythonOption mod_python.session.cookie_name ivle
23
 
    </Location>
 
23
    </Directory>
 
24
    <Directory "/usr/local/share/ivle/www/media">
 
25
        SetHandler None
 
26
    </Directory>
 
27
    <Directory "/usr/local/share/ivle/www/php">
 
28
        SetHandler None
 
29
    </Directory>
24
30
 
25
31
    ErrorLog /var/log/apache2/error.log
26
32