the /srv/httpd/htdocs folder is my DocumentRoot, not the tomcat folder. If I access this same file without SSL I get (in access_log):
[Sun Jun 07 21:40:51.604010 2015] [core:info] [pid 28702:tid 140447106541312] [client 18.104.22.168:59161] AH00128: File does not exist: /srv/httpd/htdocs/office/index.jsp
which does access my tomcat webapps/office directory. If I use ssl to access a file in the DocumentRoot, it works fine. The problem is when I use ssl and want to access a jsp file. This used to work before the upgrade.
22.214.171.124 - - [07/Jun/2015:21:50:49 -0400] "GET /office/index.jsp HTTP/1.1" 200 1834 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"
My worker.properties is:
LoadModule jk_module lib64/httpd/modules/mod_jk.so # Where to find workers.properties # Update this path to match your conf directory location # (put workers.properties next to httpd.conf) JkWorkersFile /etc/httpd/workers.properties # Where to put jk shared memory # (Update this path to match your local state directory or logs directory) JkShmFile /var/log/httpd/mod_jk.shm # Where to put jk logs # (Update this path to match your logs directory location # (put mod_jk.log next to access_log) JkLogFile /var/log/httpd/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the timestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # Send everything for context /examples to worker named worker1 (ajp13) JkMount /ohprs/* worker1 JkMount /ohprs worker1 JkMount /office/* worker1 JkMount /office worker1
worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost
From novice to tech pro — start learning today.