问题:升级到 Apache 2.4.4 和 Tomcat 7.0.33。通过 HTTPS 访问网站会产生“找不到对象”错误。 错误日志显示没有错误(apche、tomcat 或 Windows)。 服务器操作系统:Windows 2008 Apache :版本 2.4.4 Tomcat:版本 7.033 JRE:版本 1.6.0_43
HTTP.conf
LoadModule jk_module modules/mod_jk.so
# mod_jk setup
<IfModule mod_jk.c>
JkWorkersFile conf/workers.properties
JkLogFile "|bin/rotatelogs.exe logs/mod_jk.log.%Y-%m-%d.txt 86400"
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
# Should mod_jk send SSL information to Tomcat (default is On)
JkExtractSSL On
# What is the indicator for SSL (default is HTTPS)
JkHTTPSIndicator HTTPS
# What is the indicator for SSL session (default is SSL_SESSION_ID)
JkSESSIONIndicator SSL_SESSION_ID
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
JkCIPHERIndicator SSL_CIPHER
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
JkCERTSIndicator SSL_CLIENT_CERT
<Directory "N:/Prod/WebApp_Tomcat/">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Location /*/WEB-INF/*>
deny from all
</Location>
JkMount /WebApp/* presentation
</IfModule>
# end of mod_jk setup
最佳答案
SSL 虚拟方法在我们的环境中不起作用。如下重新创建 http-ssl.conf 文件解决了我们的问题。
http-ssl.conf
##
## SSL Global Context
##
<IfModule mod_ssl.c>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLEngine On
SSLOptions +StrictRequire
<Directory "C:/WebApp">
SSLRequireSSL
</Directory>
<Directory "C:/WebApp_Tomcat">
SSLRequireSSL
</Directory>
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLSessionCache "shmcb:C:/ApacheGroup/Apache2.4.4/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key
SSLSessionCacheTimeout 300
SSLProxyEngine off
SetEnvIf User-Agent ".*MSIE.*" ssl-unclean-shutdown
ErrorLog "|bin/rotatelogs.exe logs/SSL.log.%Y-%m-%d.txt 86400"
LogLevel warn
CustomLog logs/ssl_request_log.txt \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
关于apache - 到 Apache 2.4.4 和 Tomcat 7.0.33。通过 HTTPS 访问网站产生 “Object not found” 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16543718/