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

« back to all changes in this revision

Viewing changes to www/README

  • Committer: mattgiuca
  • Date: 2008-01-12 15:35:53 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:201
Added "test" directory.
Added make_date_test.py, a short script I wrote to test the date format
algorithm committed in the previous revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
Apache configuration
14
14
--------------------
15
15
 
16
 
IVLE should be installed into a place on the file system, and then there
17
 
should be a symlink created from Apache. Apache should symlink its IVLE
18
 
directory to the "www" directory, a subdirectory of the IVLE trunk.
19
 
 
20
16
The Apache conf file should have the following directives added to it, which
21
17
configures the site to direct all URLs to the main dispatcher (except for
22
18
files in the /media directory).
25
21
    # See src/README for instructions and explanation
26
22
    <Directory "/ivle-directory"> 
27
23
        SetHandler mod_python
28
 
        PythonHandler dispatch
 
24
        PythonHandler dispatch_handler
29
25
        #PythonDebug On
30
26
        Options FollowSymLinks
31
 
        PythonOption mod_python.file_session.database_directory /path/to/shared/sessions
 
27
        PythonOption ivle.handlerpath "/ivle-directory"
32
28
    </Directory>
33
29
    <Directory "/ivle-directory/media"> 
34
30
        SetHandler None
35
31
    </Directory>
36
32
 
37
33
Where `ivle-directory` is the path to root directory of IVLE on the web
38
 
server (the symlink which points to "www").
 
34
server.
39
35
 
40
36
Uncomment `PythonDebug On` to turn on debugging.
41
37
 
42
38
Note that this disables directory listings across the whole site (which
43
39
essentially only affects the /media directory).
44
40
 
45
 
Python Site configuration
46
 
-------------------------
47
 
 
48
 
The setup install script automatically configures ivle.pth in the Python site
49
 
packages directory. This section is for if you run into trouble.
50
 
 
51
 
You need to set up IVLE as a Python site to allow importing of IVLE modules.
52
 
If this step is done improperly, you will see "ImportError: No module named
53
 
dispatch".
54
 
 
55
 
Place a file in the Python site packages directory
56
 
(ie. /usr/lib/python2.5/site-packages) called "ivle.pth". In it place a
57
 
single line containing the full path to the "www" directory inside
58
 
trunk in the installed location.
59
 
 
60
 
See http://docs.python.org/lib/module-site.html for information about
61
 
configuring .pth files.
62
 
 
63
41
Application configuration
64
42
-------------------------
65
43