1
|
NameVirtualHost *:80
|
2
|
<VirtualHost *:80>
|
3
|
DocumentRoot /usr/share/tomcat5.5/webapps/knb
|
4
|
ServerName <your_hostname_here>
|
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
|
</VirtualHost>
|
22
|
|