Mailinglisten-Archive |
This is a multi-part message in MIME format.
------=_NextPart_000_00BB_01BF9B16.446AD0E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
>wir betreiben einen Apache-Server mit MOD_SSL und PHP. Ein Formular =
wird per https:// aufgerufen. Beim >Abschicken =FCbergibt es =
(nat=FCrlich weiterhin verschl=FCsselt) einem PHP-Skript Variablen per =
POST-Request, das >Skript generiert wieder irgendeine Antwort.
>
>Das ganze l=E4uft eigentlich einwandfrei. Das Problem:
>
>- beim Abschicken des Formulars via Internet-ExploDer tritt ab und zu =
ein Fehler auf "Die gew=FCnschte Seite ist zur >Zeit nicht verf=FCgbar."
>- wenn ich eine Seite zur=FCckgehe und es nochmal probiere, =
funktioniert es -- das Skript arbeitet also einwandfrei.
>- Fehlermeldung wird blitzschnell angezeigt, es wird also nicht =
versucht, l=E4ngere Zeit die Seite zu finden oder so
>- Fehler tritt nur sporadisch auf
>- ist nicht reproduzierbar
>- Serverauslastung ist minimal
>- mit Netscape ist der Fehler noch nie aufgetreten
>? arbeitet PHP zu langsam?
>? ist der SSL-Server korrupt?
>? liegt's an Microsoft?
wen's interessiert, der Fehler liegt tats=E4chlich an MS. Drauf gekommen =
bin ich durch ein Studium der Logfiles des SSL-Servers, die L=F6sung =
gibt's auf mod-ssl.org:
When I connect via HTTPS to an Apache+mod_ssl server
with Microsoft Internet Explorer (MSIE) I sometimes get
I/O errors and the message "bad data from the server".
What's the reason? [L]=20
The reason is that MSIE's SSL implementation has some =
subtle bugs related to the HTTP
keep-alive facility and the SSL close notify alerts on =
socket connection close. You've to
work-around this by forcing Apache+mod_ssl to not use =
keep-alive connections and not sending
the SSL close notify messages to MSIE clients. This can =
be done by using the following directive
in your SSL-aware virtual host section:=20
SetEnvIf User-Agent ".*MSIE.*" nokeepalive =
ssl-unclean-shutdown
Greetings!
Manuel Jenne
Gesch=E4ftsf=FChrer
die Agentur GmbH, Bayreuth
http://www.dieAgentur.de
manuel.jenne_(at)_dieAgentur.de
Fon +49 (0) 921-8 710 310
Fax +49 (0) 921-8 710 311
-------------------------------------------
die Agentur - Innovation und Kontinuit=E4t
-------------------------------------------
------=_NextPart_000_00BB_01BF9B16.446AD0E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV style=3D"FONT: 10pt arial"></DIV>
<DIV><FONT face=3DArial size=3D2>>wir betreiben einen =
Apache-Server mit=20
MOD_SSL und PHP. Ein Formular wird per https:// aufgerufen. Beim =
>Abschicken=20
=FCbergibt es (nat=FCrlich weiterhin verschl=FCsselt) einem PHP-Skript =
Variablen per=20
POST-Request, das >Skript generiert wieder irgendeine =
Antwort.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>Das ganze l=E4uft eigentlich =
einwandfrei. Das=20
Problem:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- beim Abschicken des Formulars via =
Internet-ExploDer tritt ab und zu ein Fehler auf "Die gew=FCnschte Seite =
ist zur=20
>Zeit nicht verf=FCgbar."</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- wenn ich eine Seite zur=FCckgehe =
und es nochmal=20
probiere, funktioniert es -- das Skript arbeitet also =
einwandfrei.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- Fehlermeldung wird blitzschnell =
angezeigt, es=20
wird also nicht versucht, l=E4ngere Zeit die Seite zu finden oder =
so</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- Fehler tritt nur sporadisch =
auf</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- ist nicht =
reproduzierbar</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- Serverauslastung ist =
minimal</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>- mit Netscape ist der Fehler =
noch nie=20
aufgetreten<BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>>? arbeitet PHP zu =
langsam?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>? ist der SSL-Server =
korrupt?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>>? liegt's an =
Microsoft?</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>wen's =
interessiert, der=20
Fehler liegt tats=E4chlich an MS. Drauf gekommen bin ich durch ein =
Studium der=20
Logfiles des SSL-Servers, die L=F6sung gibt's auf =
mod-ssl.org:</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>When I connect via HTTPS to an =
Apache+mod_ssl=20
server<BR> &nb=
sp; =20
with Microsoft Internet Explorer (MSIE) I sometimes=20
get<BR> =
=20
I/O errors and the message "bad data from the=20
server".<BR> &=
nbsp; =20
What's the reason? [L] </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; =20
The reason is that MSIE's SSL implementation has some subtle bugs =
related to the=20
HTTP<BR>  =
; =20
keep-alive facility and the SSL close notify alerts on socket connection =
close.=20
You've=20
to<BR> &=
nbsp; =20
work-around this by forcing Apache+mod_ssl to not use keep-alive =
connections and=20
not=20
sending<BR> &n=
bsp; =20
the SSL close notify messages to MSIE clients. This can be done by using =
the=20
following=20
directive<BR> =
=20
in your SSL-aware virtual host section: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; =20
SetEnvIf User-Agent ".*MSIE.*" nokeepalive =
ssl-unclean-shutdown</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Greetings!</DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>Manuel =
Jenne<BR>Gesch=E4ftsf=FChrer</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>die Agentur GmbH, Bayreuth<BR><A=20
href=3D"http://www.dieAgentur.de">http://www.dieAgentur.de</A><BR><A=20
href=3D"mailto:manuel.jenne_(at)_dieAgentur.de">manuel.jenne_(at)_dieAgentur.de</A>=
<BR>Fon=20
+49 (0) 921-8 710 310<BR>Fax +49 (0) 921-8 710 311</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial =
size=3D2>-------------------------------------------<BR>die=20
Agentur - Innovation und=20
Kontinuit=E4t<BR>-------------------------------------------<BR></FONT></=
DIV></FONT></DIV></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_00BB_01BF9B16.446AD0E0--
php::bar PHP Wiki - Listenarchive