User Tools

Site Tools


apache:fix_for_ie_page_can_not_be_displayed_error

This is an old revision of the document!


Apache - Fix for IE page can not be displayed 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 you will sometimes get the “Page cannot be displayed” error on posts to other pages. This happens randomly and is a big pain to figure out.

To fix this, add this line into the httpd.conf file in the section for your SSL virtual host.

/etc/apache2/httpd.conf
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

Keep it all on one line.

Here is the full section from my 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/fix_for_ie_page_can_not_be_displayed_error.1468160528.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki