]> granicus.if.org Git - apache/commitdiff
Remove some comments from the errordocument and browsermatch sections.
authorJoshua Slive <slive@apache.org>
Wed, 5 Dec 2001 19:01:25 +0000 (19:01 +0000)
committerJoshua Slive <slive@apache.org>
Wed, 5 Dec 2001 19:01:25 +0000 (19:01 +0000)
I like short config files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92347 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/httpd-std.conf

index ba4860650850518ea346148769c2dc1f32b59db2..bfafd6d0f68f7893fa05175c232c8810c1316445 100644 (file)
@@ -795,29 +795,15 @@ AddHandler type-map var
 #
 
 #
-# Customizable error response (Apache style)
-#  these come in three flavors
+# Customizable error responses come in three flavors:
+# 1) plain text 2) local redirects 3) external redirects
 #
-#    1) plain text
+# Some examples:
 #ErrorDocument 500 "The server made a boo boo."
-#
-#    2) local redirects
 #ErrorDocument 404 /missing.html
-#  to redirect to local URL /missing.html
-#ErrorDocument 404 "/cgi-bin/missing_handlder.pl"
-#    i.e. any string which starts with a '/' and has
-#    no spaces. 
-#  N.B.: You can redirect to a script or a document using server-side-includes.
-#
-#    3) external redirects
+#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
 #ErrorDocument 402 http://www.example.com/subscription_info.html
-#    i.e. any string whichis a valid  URL.
-#  N.B.: Many of the environment variables associated with the original
-#  request will *not* be available to such a script.
 #
-#    4) borderline case
-#ErrorDocument 402 "http://www.example.com/info.html is the place to look"
-#    treated as case '1' as it has spaces and thus is not a valid URL
 
 #
 # Putting this all together, we can Internationalize error responses.
@@ -869,21 +855,11 @@ AddHandler type-map var
 </IfModule>
 
 #
-# The following directives modify normal HTTP response behavior.
-# The first directive disables keepalive for Netscape 2.x and browsers that
-# spoof it. There are known problems with these browser implementations.
-# The second directive is for Microsoft Internet Explorer 4.0b2
-# which has a broken HTTP/1.1 implementation and does not properly
-# support keepalive when it is used on 301 or 302 (redirect) responses.
+# The following directives modify normal HTTP response behavior to
+# handle known problems with browser implementations.
 #
 BrowserMatch "Mozilla/2" nokeepalive
 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
-
-#
-# The following directive disables HTTP/1.1 responses to browsers which
-# are in violation of the HTTP/1.0 spec by not being able to grok a
-# basic 1.1 response.
-#
 BrowserMatch "RealPlayer 4\.0" force-response-1.0
 BrowserMatch "Java/1\.0" force-response-1.0
 BrowserMatch "JDK/1\.0" force-response-1.0