Project

General

Profile

1 4926 daigle
<IfModule mod_ssl.c>
2
<VirtualHost *:443>
3
        DocumentRoot /usr/share/tomcat5.5/webapps/knb
4
5
        ScriptAlias /knb/cgi-bin/ /usr/share/tomcat5.5/webapps/knb/cgi-bin/
6
        <Directory "/usr/share/tomcat5.5/webapps/knb/cgi-bin/">
7
                AllowOverride All
8
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
9
                Order allow,deny
10
                Allow from all
11
        </Directory>
12
13
        <IfModule mod_jk.c>
14
                JkMount /knb ajp13
15
                JkMount /knb/* ajp13
16
                JkMount /knb/metacat ajp13
17
                JkMount /*.jsp ajp13
18
                JkUnMount /knb/cgi-bin/* ajp13
19
        </IfModule>
20
        #   SSL Engine Switch:
21
        #   Enable/Disable SSL for this virtual host.
22
23
        SSLEngine on
24
        #   A self-signed (snakeoil) certificate can be created by installing
25
        #   the ssl-cert package. See
26
        #   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
27
        #   If both key and certificate are stored in the same file, only the
28
        #   SSLCertificateFile directive is needed.
29
        SSLCertificateFile /etc/ssl/certs/<your_cert_name>.crt
30
        SSLCertificateKeyFile /etc/ssl/private/<your_cert_name>.key
31
32
</VirtualHost>
33
</IfModule>