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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

  • Committer: David Coles
  • Date: 2010-08-30 03:26:13 UTC
  • Revision ID: coles.david@gmail.com-20100830032613-d14vng0jkelniu3l
python-console: Fix globals broken with new JSON library.

simplejson always returns unicode strings. cJSON would return ordinary strings 
if possible. cPickle.loads() only accepts strings. At present we use pickle 
version 0 so they should all works as ASCII strings. Higher versions of pickle 
are not plain ASCII and are likely to break this and so this should be fixed 
at some point.

Also replaced unconditional exception with one that catches Pickle errors. Not 
sure the best way to report failures of these functions.

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 /opt/ivle/www
9
 
    <Directory />
10
 
        Options FollowSymLinks
11
 
        AllowOverride None
12
 
    </Directory>
13
 
    <Directory "/opt/ivle/www/">
14
 
        AllowOverride None
15
 
        Order allow,deny
16
 
        allow from all
17
 
        SetHandler mod_python
18
 
        PythonHandler dispatch
19
 
        #PythonDebug On
20
 
        Options FollowSymLinks
21
 
        PythonOption mod_python.file_session.database_directory /home/informatics/sessions
22
 
    </Directory>
23
 
    <Directory "/opt/ivle/www/media">
24
 
        SetHandler None
25
 
    </Directory>
26
 
    <Directory "/opt/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>