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

« back to all changes in this revision

Viewing changes to doc/setup/ivle.conf

  • Committer: drtomc
  • Date: 2008-01-31 08:11:37 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:352
Changed console so it no longer uses HTTP, just sends JSON over a normal socket.
Reason: Easier to control (since web.py offered limited control over *when* to Daemonise). Ultimately, this was necessary to get the port allocation strategy working.

* Replaced the HTTP / web.py code with socket code. (Web.py is no longer a dependency).
* Sundry bug fixes.
* Daemonization code - moved out of a Shell "&" call on the Apache side to a proper Daemon code on the spawned server side.

The upshot is we can now spawn any number of servers. Console is DONE for Alpha release.


YOU HAVE NO IDEA HOW TRICKY THIS WAS!!!

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
    </Directory>
 
22
    <Directory "/opt/ivle/www/media">
 
23
        SetHandler None
 
24
    </Directory>
 
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>