I've just migrated an Apache/Tomcat system that has been running for years to a new 64 bit Linux OS and Apache 2.4.6 and Tomcat 8.0.23. Everything seems to have installed OK. I can access my jsp pages just fine via http, but if I use https I get a 404 error. Examining the ssl debug log shows:
[Sun Jun 07 21:40:51.604010 2015] [core:info] [pid 28702:tid 140447106541312] [client 184.108.40.206:59161] AH00128: File does not exist: /srv/httpd/htdocs/office/index.jsp
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):
220.127.116.11 - - [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"
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.
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)
# Where to put jk shared memory
# (Update this path to match your local state directory or logs directory)
# Where to put jk logs
# (Update this path to match your logs directory location
# (put mod_jk.log next to access_log)
# Set the jk log level [debug/error/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
My worker.properties is:
# Set properties for worker1 (ajp13)