Revision 4926
Added by daigle over 15 years ago
src/scripts/debian/workers.properties | ||
---|---|---|
6 | 6 |
worker.ajp13.host=localhost |
7 | 7 |
worker.ajp13.type=ajp13 |
8 | 8 |
worker.ajp13.lbfactor=1 |
9 |
worker.loadbalancer.type=lb |
|
10 |
worker.loadbalancer.balanced_workers=ajp13 |
|
9 |
worker.loadbalancer.type=lb |
src/scripts/debian/knb-ssl | ||
---|---|---|
1 |
<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> |
|
34 |
|
src/scripts/debian/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
Add ssl virtualhost. Change non-ssl to work with ssl.