You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@hyperreal.org on 1998/10/21 07:57:58 UTC

cvs commit: apache-1.3/htdocs/manual handler.html

marc        98/10/20 22:57:58

  Modified:    src/main http_core.c
               src      CHANGES
               htdocs/manual handler.html
  Log:
  Add a "default-handler" handler that calls the default_hander()
  function which is normally called for static content.  This allows
  you to override a specific handler.  This is not a complete solution to
  being able to "unconfigure" things as asked for in PR#2979, but it is
  still useful.
  
  Revision  Changes    Path
  1.235     +1 -0      apache-1.3/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_core.c,v
  retrieving revision 1.234
  retrieving revision 1.235
  diff -u -r1.234 -r1.235
  --- http_core.c	1998/10/16 07:04:43	1.234
  +++ http_core.c	1998/10/21 05:57:53	1.235
  @@ -2879,6 +2879,7 @@
   
   static const handler_rec core_handlers[] = {
   { "*/*", default_handler },
  +{ "default-handler", default_handler },
   { NULL }
   };
   
  
  
  
  1.1114    +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1113
  retrieving revision 1.1114
  diff -u -r1.1113 -r1.1114
  --- CHANGES	1998/10/20 17:44:58	1.1113
  +++ CHANGES	1998/10/21 05:57:55	1.1114
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.4
   
  +  *) Add a "default-handler" handler that calls the default_hander()
  +     function which is normally called for static content.  This allows
  +     you to override a specific handler.  [Marc Slemko]
  +
     *) Further simplify checking for absolute paths by replacing an
        hard-coded syntax check with a call to a routine we already created to
        do this.  [Ken Parzygnat <kp...@raleigh.ibm.com>] PR#2976, 3074
  
  
  
  1.15      +4 -0      apache-1.3/htdocs/manual/handler.html
  
  Index: handler.html
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/handler.html,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- handler.html	1998/05/20 14:22:30	1.14
  +++ handler.html	1998/10/21 05:57:58	1.15
  @@ -36,6 +36,10 @@
   handlers in the standard distribution are as follows:</P>
   
   <UL>
  +<LI><STRONG>default-handler</STRONG>:
  +    Send the file using the <CODE>default_handler()</CODE>, which is the 
  +    handler used by default to handle static content.
  +    (core)
   <LI><STRONG>send-as-is</STRONG>:
       Send file with HTTP headers as is.
       (<A HREF="mod/mod_asis.html">mod_asis</A>)