pereinar 2002/06/03 09:09:45
Modified: src/docs/tutorials Changes.pod
src/docs/tutorials/browserbugs browserbugs.pod
Log:
Added note about too short Error responses in IE, relative to this discussion:
http://mathforum.org/epigone/modperl/praibryrghin
Submitted by: Jonathan M. Hollin, Igor Sysoev
Revision Changes Path
1.3 +4 -1 modperl-docs/src/docs/tutorials/Changes.pod
Index: Changes.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/tutorials/Changes.pod,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Changes.pod 29 May 2002 04:46:59 -0000 1.2
+++ Changes.pod 3 Jun 2002 16:09:45 -0000 1.3
@@ -11,7 +11,10 @@
=head1 ...
-*
+* browserbugs::browserbugs: Added discussion of length of error
+ responses and how it's handled by IE, in relation to this
+ discussion:
+ http://mathforum.org/epigone/modperl/praibryrghin [Per Einar]
=head1 Wed May 29 12:41:24 SGT 2002
1.2 +24 -0
modperl-docs/src/docs/tutorials/browserbugs/browserbugs.pod
Index: browserbugs.pod
===================================================================
RCS file:
/home/cvs/modperl-docs/src/docs/tutorials/browserbugs/browserbugs.pod,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- browserbugs.pod 10 May 2002 07:43:22 -0000 1.1
+++ browserbugs.pod 3 Jun 2002 16:09:45 -0000 1.2
@@ -35,6 +35,30 @@
See L<Publishing Port Numbers other than
80|guide::config/Publishing_Port_Numbers_other_than_80>.
+=head1 Internet Explorer disregards your ErrorDocuments
+
+Many users stumble upon a common problem related to MS Internet
+Explorer: if your error response, such as when using C<ErrorDocument
+500> or C<$r-E<gt>custom_response>, is too short (which might often be
+the case because you aren't very inspired when writing error
+messages), Internet Explorer completely disregards it and replaces it
+with its own standard error page, even though everything has been sent
+correctly by the server and received by the browser.
+
+The solution to this is quite simple: your content needs to be at
+least 512 bytes. Microsoft describes some solutions to this I<problem>
+here: http://support.microsoft.com/support/kb/articles/Q294/8/07.ASP
+. The easiest solution under Perl is to do something like this:
+
+ # write your HTML headers
+ print "<!-- ", "_" x 513, " -->";
+ # write out the rest of your HTML
+
+Effectively, your content will be long enough, but the user won't
+notice any additional content. If you're doing this with static pages,
+just insert a long enough comment inside your file to make it large
+enough, which will have the same effect.
+
=head1 Maintainers
Maintainer is the person(s) you should contact with updates,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]