apache:troubleshooting:page_can_not_be_displayed_error_on_ie
Table of Contents
Apache - Troubleshooting - Page can not be displayed error on ie
Error
Apache and Microsoft Internet Explorer seem to have a problem with not handling Persistant Connections correctly over https using http/1.1.
If using a scripting language like PHP or ASP (chillisoft) on Apache, sometimes the Page cannot be displayed error is shown on posts to other pages.
- This happens randomly and is a big pain to figure out.
Fix
Add this line into the httpd.conf file, in the section for the SSL virtual host.
- /etc/apache2/httpd.conf
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
NOTE: Keep it all on one line!
Here is the full section from an Apache version 1.3 Apache.conf file.
- apache.conf
## ## SSL Virtual Host Context ## ServerAdmin webmaster@nowhere.com DocumentRoot /var/www/html/nowhere.com ServerName www.nowhere.com ErrorLog /var/log/httpd/nowhere.com-error_log CustomLog /var/log/httpd/nowhere.com-access_log combined SSLEngine on SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /usr/local/apache/conf/ssl.crt/www.nowhere.com.crt SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/www.nowhere.com.key
apache/troubleshooting/page_can_not_be_displayed_error_on_ie.txt · Last modified: 2023/07/17 11:04 by peter