Running mod_jk over SSL with Apache 2.2.22 (SP 3.4.0+)
- Article Type: General
- Product: DigiTool
- Product Version: 3
Description
Running mod_jk over SSL with Apache 2.2.22 (SP 3.4.0+) requires additional configuration. Please follow the following steps:
1 - Add lines to ssl.conf file:
Add the following "JkMount" lines in ./dtle/apache/conf/ssl.conf, in <VirtualHost> tag:
<VirtualHost>
# Mount your applications
JkMount /mng* localnode
JkMount /deposit* localnode
JkMount /webclient* localnode
JkMount /approver* localnode
JkMount /webingest* localnode
JkMount /collection* localnode
JkMount /j2k* localnode
JkMount /metsviewer* localnode
JkMount /view* localnode
JkMount /oai* localnode
JkMount /ImageServer* localnode2
JkMount /digitool-report* localnode
</VirtualHost>
2 - Edit mod-jk-workers.properties file:
Comment the following lines in ./dtle/apache/conf/mod-jk-workers.properties:
#worker.localnode.local_worker=1
#worker.localnode.cachesize=10
#worker.localnode2.local_worker=2
#worker.localnode2.cachesize=10
3 - Confirm following setting in ./dtle/apache/conf/httpd.conf:
Change from -
LoadModule dtl_module /exlibris/dtl/d3_2/dtl/exe/mod_dtl.so
To -
LoadModule dtl_module /exlibris/dtl/d3_2/dtl/exe/mod_dtl_22.so
Add -
<IfModule mod_dtl_22.c>
ServerAddr 127.0.0.1
ServerPort 4882
OAIServerAddr 127.0.0.1
OAIServerPort 3882
</IfModule>
4 - Restart Apache
Note: As Apache will be listening on privileged ports 80 or 443, then Apache must be started as ROOT using apachectl_auto.
The -DSSL flag must be added to apachectl_auto.
Eg:
#!/bin/csh -f
source /exlibris/dtl/u3_1/dtle/dtl_start
$httpd_bin/httpd -d $httpd_root -DSSL
- Article last edited: 10/8/2013