httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject cvs commit: httpd-2.0/docs/conf httpd-std.conf
Date Wed, 05 Dec 2001 19:01:26 GMT
slive       01/12/05 11:01:26

  Modified:    docs/conf httpd-std.conf
  Log:
  Remove some comments from the errordocument and browsermatch sections.
  I like short config files.
  
  Revision  Changes    Path
  1.68      +7 -31     httpd-2.0/docs/conf/httpd-std.conf
  
  Index: httpd-std.conf
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/conf/httpd-std.conf,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -d -b -u -r1.67 -r1.68
  --- httpd-std.conf	2001/12/05 18:28:37	1.67
  +++ httpd-std.conf	2001/12/05 19:01:25	1.68
  @@ -795,29 +795,15 @@
   #
   
   #
  -# 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 @@
   </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
  
  
  

Mime
View raw message