我的apache conf有点问题。当我阅读错误日志时,可以看到以下内容:
[client xxx.xxx.xx.xx] AH01964: Connection to child 1 established (server www.mywebsite.com:443)
[client xxx.xxx.xx.xx] AH01964: Connection to child 6 established (server www.mywebsite.com:443)
[client xxx.xxx.xx.xx] AH01964: Connection to child 10 established (server www.mywebsite.com:443)
[client xxx.xxx.xx.xx] AH01964: Connection to child 15 established (server www.mywebsite.com:443)
[client xxx.xxx.xx.xx] AH01964: Connection to child 18 established (server www.mywebsite.com:443)
(70014)End of file found: [client xxx.xxx.xx.xx] AH01991: SSL input filter read failed.
(70014)End of file found: [client xxx.xxx.xx.xx] AH01991: SSL input filter read failed.
(70014)End of file found: [client xxx.xxx.xx.xx] AH01991: SSL input filter read failed.
(70014)End of file found: [client xxx.xxx.xx.xx] AH01991: SSL input filter read failed.
(70014)End of file found: [client xxx.xxx.xx.xx] AH01991: SSL input filter read failed.
有时,这一个:
(70007)The timeout specified has expired: [client xxx.xxx.xx.xx] AH01991: SSL input filter read failed.
我实际上不知道...所以我的网站是完整的HTTP,但HTTPS中只有两页。这是我的virtualHost:
<VirtualHost *:80>
ServerName mywebsite.com
Redirect permanent / http://www.mywebsite.com/
</VirtualHost>
<VirtualHost *:80>
ServerName www.mywebsite.com
ServerAlias img.mywebsite.com
ServerAdmin xxx
DocumentRoot /home/mywebsite/www/public
<Directory /home/mywebsite/www/>
Options Indexes Multiviews FollowSymlinks
AllowOverride All
Require all granted
ErrorDocument 403 http://www.google.com/
</Directory>
<Directory /home/mywebsite/www/public/resource/private/>
Require all denied
ErrorDocument 403 http://www.mywebsite.com/
</Directory>
<Location "/robots.txt">
Require all granted
</Location>
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/mywebsite_error.log
CustomLog ${APACHE_LOG_DIR}/mywebsite_access.log combined
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName www.mywebsite.com
DocumentRoot /home/mywebsite/www/public
<Directory /home/mywebsite/www/>
Options Indexes FollowSymlinks Multiviews
AllowOverride all
Require all granted
</Directory>
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/mywebsite_error.log
CustomLog ${APACHE_LOG_DIR}/mywebsite_access.log combined
SSLEngine on
SSLCertificateFile ./mywebsite.crt
SSLCertificateKeyFile ./mywebsite.key
SSLCertificateChainFile ./intermediate.crt
</VirtualHost>
</IfModule>
那么,我在哪里做错了?我找不到...您能帮我吗?
谢谢 :)
我在Apache 2.4.7中遇到相同的问题。这不是SNI支持的问题。也不是“仅仅降低日志级别”是一个真正的答案:)
—
Iguananaut