~u5218464/schooltool-book/schooltool-book

« back to all changes in this revision

Viewing changes to i18n/hi/build/html/_static/school1-apache.conf

  • Committer: Karun Agarwal
  • Date: 2014-05-22 10:02:44 UTC
  • Revision ID: u5218464@anu.edu.au-20140522100244-0lv39nttpudy41cp
added new branch to make translations for schooltool-book to hindi

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Apache configuration for SchoolTool
 
2
 
3
# Place it in /etc/apache2/sites-available/school1.example.org, run:
 
4
 
5
#   $ sudo a2ensite school1.example.org
 
6
#   $ sudo service apache2 reload
 
7
 
8
# If you add a line to /etc/hosts, reading
 
9
#
 
10
#   127.0.0.1       school1.example.org
 
11
#   
 
12
# You can go to http://school1.example.org/
 
13
#
 
14
# Read more at http://book.schooltool.org/apache.html
 
15
 
 
16
<VirtualHost *:80>
 
17
    ServerName school1.example.org
 
18
    ServerSignature On
 
19
 
 
20
    ErrorLog /var/log/apache2/school1-error.log
 
21
 
 
22
    # Possible values include: debug, info, notice, warn, error, crit,
 
23
    # alert, emerg.
 
24
    LogLevel warn
 
25
 
 
26
    CustomLog /var/log/apache2/school1-access.log combined
 
27
 
 
28
    <Proxy *>
 
29
            order allow,deny
 
30
            allow from all
 
31
            deny from none
 
32
    </Proxy>
 
33
 
 
34
    ProxyPass / http://127.0.0.1:7080/++vh++http:school1.example.org:80/++/
 
35
 
 
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/
 
39
 
 
40
</VirtualHost>
 
41
 
 
42
<VirtualHost *:443>
 
43
    ServerName school1.example.org
 
44
    ServerSignature on
 
45
 
 
46
    SSLEngine on
 
47
    SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
 
48
    SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
 
49
    SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
 
50
 
 
51
    ErrorLog /var/log/apache2/school1-error.log
 
52
 
 
53
    # Possible values include: debug, info, notice, warn, error, crit,
 
54
    # alert, emerg.
 
55
    LogLevel warn
 
56
 
 
57
    CustomLog /var/log/apache2/school1-access.log combined
 
58
 
 
59
    <Proxy *>
 
60
            order allow,deny
 
61
            allow from all
 
62
            deny from none
 
63
    </Proxy>
 
64
 
 
65
    ProxyPass / http://127.0.0.1:7080/++vh++https:school1.example.org:443/++/
 
66
 
 
67
</VirtualHost>
 
68
 
 
69
# vim: setf apache