1
# Apache configuration for SchoolTool
3
# Place it in /etc/apache2/sites-available/school1.example.org, run:
5
# $ sudo a2ensite school1.example.org
6
# $ sudo service apache2 reload
8
# If you add a line to /etc/hosts, reading
10
# 127.0.0.1 school1.example.org
12
# You can go to http://school1.example.org/
14
# Read more at http://book.schooltool.org/apache.html
17
ServerName school1.example.org
20
ErrorLog /var/log/apache2/school1-error.log
22
# Possible values include: debug, info, notice, warn, error, crit,
26
CustomLog /var/log/apache2/school1-access.log combined
34
ProxyPass / http://127.0.0.1:7080/++vh++http:school1.example.org:80/++/
36
# If you have set up SSL site below, you can comment out ProxyPass directive
37
# above, and Redirect to the SSL site
38
#Redirect / https://school1.example.org/
43
ServerName school1.example.org
47
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
48
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
49
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
51
ErrorLog /var/log/apache2/school1-error.log
53
# Possible values include: debug, info, notice, warn, error, crit,
57
CustomLog /var/log/apache2/school1-access.log combined
65
ProxyPass / http://127.0.0.1:7080/++vh++https:school1.example.org:443/++/