我有一个问题以不同的方式提出来,但是我仍然找不到解决方案。
我的问题是我正在使用SSL和Windows XP上的Internet Explorer 7在debian上的Apache 2.4上托管一个网站
Internet Explorer cannot display the webpage
我只有一个使用ssl的虚拟主机,但是使用http的其他虚拟主机。这是我启用SSL的网站的配置(未链接etc / sites-avaible / default-ssl)
<Virtualhost xx.yyy.86.193:443>
  ServerName www.my-certified-domain.de
  ServerAlias my-certified-domain.de
  DocumentRoot "/var/local/www/my-certified-domain.de/current/www"
  Alias /files "/var/local/www/my-certified-domain.de/current/files"
  CustomLog /var/log/apache2/access.my-certified-domain.de.log combined
  <Directory "/var/local/www/my-certified-domain.de/current/www">
    AllowOverride All
  </Directory>
  SSLEngine on
  SSLCertificateFile /etc/ssl/certs/www.my-certified-domain.de.crt
  SSLCertificateKeyFile /etc/ssl/private/www.my-certified-domain.de.key
  SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
  SSLCertificateChainFile /etc/apache2/ssl.crt/www.my-certified-domain.de.ca
  BrowserMatch "MSIE [2-8]" nokeepalive downgrade-1.0 force-response-1.0
</VirtualHost>
<VirtualHost *:80>
  ServerName www.my-certified-domain.de
  ServerAlias my-certified-domain.de
  CustomLog /var/log/apache2/access.my-certified-domain.de.log combined
  Redirect permanent / https://www.my-certified-domain.de/
</VirtualHost>
我的ports.conf看起来像这样:
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 443
</IfModule>
<IfModule mod_gnutls.c>
    Listen 443
</IfModule>
来自的输出apache2ctl -S是这样的:
xx.yyy.86.193:443      www.my-certified-domain.de (/etc/apache2/sites-enabled/020-my-certified-domain.de:1)
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
         default server phpmyadmin.my-certified-domain.de (/etc/apache2/conf.d/phpmyadmin.conf:3)
         port 80 namevhost phpmyadmin.my-certified-domain.de (/etc/apache2/conf.d/phpmyadmin.conf:3)
         port 80 namevhost staging.my-certified-domain.de (/etc/apache2/sites-enabled/010-staging.my-certified-domain.de:1)
         port 80 namevhost testing.my-certified-domain.de (/etc/apache2/sites-enabled/015-testing.my-certified-domain.de:1)
         port 80 namevhost www.my-certified-domain.de (/etc/apache2/sites-enabled/020-my-certified-domain.de:31)
我为这个问题提供了解决方案: Internet Explorer无法显示页面,其他浏览器可以显示,可能是htaccess /服务器错误
我知道这个问题的答案:
如何在SSL上设置Apache NameVirtualHost?
在fakt:我只有一个域的ssl证书。我只想用ssl运行一个虚拟主机。所以我只想将一个IP用于ssl虚拟主机。但是仍然(在重新启动/重新启动/测试之后)Internet Explorer仍不会显示该页面。
当我也解释apachectl -S时,我已经只有一个SSL主机,这应该响应最初的SSH握手,不是吗?
此设置有什么问题?
非常感谢菲利普
更新:在所有其他浏览器中均可使用。我使用Wireshark进行了调试,服务器发送了警报以通知该连接已关闭。但我在日志中看不到问题
NXDOMAIN当我尝试访问它时,我得到了。