Project

General

Profile

Revision 4926

Added by daigle over 12 years ago

Add ssl virtualhost. Change non-ssl to work with ssl.

View differences:

knb
1
ScriptAlias /knb/cgi-bin/ /usr/share/tomcat5.5/webapps/knb/cgi-bin/
2
<Directory "/usr/share/tomcat5.5/webapps/knb/cgi-bin/">
3
	AllowOverride All
4
	Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
5
	Order allow,deny
6
	Allow from all
7
</Directory>
1
NameVirtualHost *:80
2
<VirtualHost *:80>
3
        DocumentRoot /usr/share/tomcat5.5/webapps/knb
4
        ServerName <your_hostname_here>
8 5

  
9
<IfModule mod_jk.c>
10
	JkMount /knb ajp13
11
	JkMount /knb/* ajp13
12
	JkMount /knb/metacat ajp13
13
	JkUnMount /knb/cgi-bin/* ajp13
14
</IfModule>
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
</VirtualHost>
22

  

Also available in: Unified diff