[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] PHP & The page cannot be displayed



Hi Kal,

This is caused by a problem with Microsoft Internet Explorer not handling
Persistant Connections correctly over https and http/1.1

You can easily fix this by finding and adding the following lines to your
httpd.conf

        # Hardcoded, issues with mod_perl and cobalt modules.
        if (/^<\/Virtual/ and (-f "/etc/httpd/ssl/$group")) {
            $ret = ssl_cert_check("/home/sites/$group/certs/");
            if ($ret=~/^2/o) {
                $PerlConfig .= "Listen $ip:443\n";
                $PerlConfig .= "<VirtualHost $ip:443>\n";
                $PerlConfig .= "SSLengine on\n";
                $PerlConfig .= "SSLCertificateFile
/home/sites/$group/certs/certificate\n";
                $PerlConfig .= "SSLCertificateKeyFile
/home/sites/$group/certs/key\n";
#Begin Add following lines
                $PerlConfig .= "SetEnvIf User-Agent \".*MSIE.*\" \\n";
                $PerlConfig .= "        nokeepalive
ssl-unclean-shutdown\\n";
                $PerlConfig .= "        downgrade-1.0 force-response-1.0\n";
#End Add following lines
                $PerlConfig .= join('', @ssl_conf);
            } elsif (ssl_cert_check("/home/sites/home/certs/") =~ /^2/ ) {
                $PerlConfig .= "Listen $ip:443\n";
                $PerlConfig .= "<VirtualHost $ip:443>\n";
                $PerlConfig .= "SSLengine on\n";
                $PerlConfig .= "SSLCertificateFile
/home/sites/home/certs/certificate\n";
                $PerlConfig .= "SSLCertificateKeyFile
/home/sites/home/certs/key\n";
#Begin Add following lines
                $PerlConfig .= "SetEnvIf User-Agent \".*MSIE.*\" \\n";
                $PerlConfig .= "        nokeepalive
ssl-unclean-shutdown\\n";
                $PerlConfig .= "        downgrade-1.0 force-response-1.0\n";
#End Add following lines
                $PerlConfig .= join('', @ssl_conf);
            } else {
                print STDERR "Site $group has invalid certificate: $ret\n";
            }


Then restart your httpd and everything will work fine. This behaviour also
occurs with ASP and CGI (basically all dynamically generated pages). I have
submitted this as a bug a while ago, and I still have to check wether it was
included in the just released Apache update.

With regards,

Taco Scargo
Professional Services Manager, EMEA

Sun Microsystems
Sun Cobalt Server Appliances
----- Original Message -----
From: "KAMRY" <kamry1888@xxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Thursday, August 23, 2001 8:03
Subject: [cobalt-developers] PHP & The page cannot be displayed


>
> I have a series of forms that were developed by PHP, every time I start
the
> form or go to the first step and then click next I get "The page cannot be
> displayed" in ie but if a go back and forth a couple of times then I get
to
> the second step!!!! Any solution for such a problem. I'm using https,
> though.
>
> Thanks,
>
> Kal
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>