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

« back to all changes in this revision

Viewing changes to examples/config/apache-ssl.conf

  • Committer: mattgiuca
  • Date: 2008-01-31 01:44:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:345
Global CSS change: ivlebody no longer has 1em of padding (it has none).
This is because most apps were disabling it (and it had to change anyway for
other reasons -- see below).

Hence, all apps which WERE disabling the padding have had that removed, and
just work by default. (console, browser, tutorial)
All apps which WEREN'T disabling the padding (very few) now have to manually
include an extra div. This has been done on all such apps, and has been
heavily documented (both in the CSS file and doc/app_howto). (help, dummy,
debuginfo).

media/common/ivle.css: 
    The real change here (which isn't yet being used) is that ivlebody is now
    positioned absolutely and takes up all the space on the canvas. This is
    to be used for full-page layouts in console and browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# IVLE web application server configuration for Apache 2 with SSL
2
 
# Redirect all HTTP requests for normal IVLE to HTTPS
3
 
<VirtualHost *:80>
4
 
    ServerName ivle.localhost
5
 
    RedirectMatch (.*) https://ivle.localhost$1
6
 
</VirtualHost>
7
 
 
8
 
# Use HTTP for public mode
9
 
<VirtualHost *:80>
10
 
    ServerName public.ivle.localhost
11
 
 
12
 
    <Location />
13
 
        Order allow,deny
14
 
        Allow from all
15
 
 
16
 
        SetHandler mod_python
17
 
        PythonHandler ivle.dispatch
18
 
        #PythonDebug On
19
 
    </Location>
20
 
</VirtualHost>
21
 
 
22
 
# Use HTTPS for normal IVLE
23
 
<VirtualHost *:443>
24
 
    ServerName ivle.localhost
25
 
 
26
 
    # SSL Engine Switch:
27
 
    # Enable/Disable SSL for this virtual host.
28
 
    SSLEngine on
29
 
 
30
 
    # A self-signed (snakeoil) certificate can be created by installing the
31
 
    # ssl-cert package.
32
 
    # See /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
33
 
    # If both key and certificate are stored in the same file, only the
34
 
    # SSLCertificateFile directive is needed.
35
 
    SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
36
 
    SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
37
 
 
38
 
    # Public requests should be served by HTTP (Optional)
39
 
    # Note: Handing public mode requests with HTTPS may cause certificate 
40
 
    # errors unless also signed. Requires mod_rewrite.
41
 
    #RewriteEngine   on
42
 
    #RewriteCond     %{HTTP_HOST} ^public.ivle.localhost$
43
 
    #RewriteRule     ^(.*)$ http://%{HTTP_HOST}$1 [L,R]
44
 
 
45
 
    <Location />
46
 
        Order allow,deny
47
 
        Allow from all
48
 
 
49
 
        SetHandler mod_python
50
 
        PythonHandler ivle.dispatch
51
 
        #PythonDebug On
52
 
        PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
53
 
        PythonOption mod_python.session.cookie_name ivle
54
 
    </Location>
55
 
</VirtualHost>