Project

General

Profile

1
<IfModule mod_ssl.c>
2
NameVirtualHost *:443
3
<VirtualHost *:443>
4
        DocumentRoot /usr/share/tomcat5.5/webapps/knb
5

    
6
        ScriptAlias /knb/cgi-bin/ /usr/share/tomcat5.5/webapps/knb/cgi-bin/
7
        <Directory "/usr/share/tomcat5.5/webapps/knb/cgi-bin/">
8
                AllowOverride All
9
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
10
                Order allow,deny
11
                Allow from all
12
        </Directory>
13

    
14
        <IfModule mod_jk.c>
15
                JkMount /knb ajp13
16
                JkMount /knb/* ajp13
17
                JkMount /knb/metacat ajp13
18
                JkMount /*.jsp ajp13
19
                JkUnMount /knb/cgi-bin/* ajp13
20
        </IfModule>
21
        #   SSL Engine Switch:
22
        #   Enable/Disable SSL for this virtual host.
23

    
24
        SSLEngine on
25
        #   A self-signed (snakeoil) certificate can be created by installing
26
        #   the ssl-cert package. See
27
        #   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
28
        #   If both key and certificate are stored in the same file, only the
29
        #   SSLCertificateFile directive is needed.
30
        SSLCertificateFile /etc/ssl/certs/<your_cert_name>.crt
31
        SSLCertificateKeyFile /etc/ssl/private/<your_cert_name>.key
32

    
33
</VirtualHost>
34
</IfModule>
35
        
(6-6/9)