1
# IVLE web application server configuration for Apache 2 with SSL
3
ServerName ivle.localhost
4
RedirectMatch (.*) https://ivle.localhost$1
8
ServerName public.ivle.localhost
9
RedirectMatch (.*) https://public.ivle.localhost$1
13
ServerName ivle.localhost
14
ServerAlias public.ivle.localhost
17
# Enable/Disable SSL for this virtual host.
20
# A self-signed (snakeoil) certificate can be created by installing the
22
# See /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
23
# If both key and certificate are stored in the same file, only the
24
# SSLCertificateFile directive is needed.
25
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
26
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
33
PythonHandler ivle.dispatch
35
PythonOption mod_python.file_session.database_directory /var/lib/ivle/sessions
36
PythonOption mod_python.session.cookie_name ivle