【发布时间】:2014-06-18 06:49:15
【问题描述】:
我有一个门户网站。每个用户都必须授权使用门户的所有功能。所以每个用户都必须有个人证书。我的网站上有一个链接 Sign in。如果用户有证书,一切顺利。但是如果他没有我得到空白页(标准Web page is not available)并且在Tomcat 7.0 日志中我有这个错误
org.apache.coyote.http11.AbstractHttp11Processor process
INFO: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing
errors will be logged at DEBUG level.
在这种情况下,我想在我的门户上创建一个错误页面,例如The page you requested was not found! Back to homepage!。但我不知道怎么做。
这是我的server.xml SSL 配置
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
也许我不能完全理解 SSL 和 Tomcat 是如何工作的。这个错误是关于什么以及如何解决我的问题?谢谢。
【问题讨论】: