RSS feed logo RSS Feed | About Pantz.org
Fix for IE page can not be displayed error
Posted on 07-24-2001 20:13:00 EST | Updated on 07-24-2001 20:13:00 EST
Section: /software/apache/ | Permanent Link

Apache and M$ 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 in the ass to figure out. I finally found a fix for this on the cobalt-developers list. This line should go in your httpd.conf file in the section for your SSL virtual host.

The line you want is this: 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.


  
##
## 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


Del.icio.us! | Digg Me! | Reddit!

Related stories