httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@locus.apache.org
Subject cvs commit: httpd-docs-1.3/htdocs/manual/mod mod_asis.html
Date Wed, 04 Oct 2000 21:50:39 GMT
slive       00/10/04 14:50:39

  Modified:    htdocs/manual/mod mod_asis.html
  Log:
  Use a handler rather than a magic mime type in mod_asis.
  
  Revision  Changes    Path
  1.9       +14 -12    httpd-docs-1.3/htdocs/manual/mod/mod_asis.html
  
  Index: mod_asis.html
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_asis.html,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- mod_asis.html	2000/09/25 21:46:41	1.8
  +++ mod_asis.html	2000/10/04 21:50:38	1.9
  @@ -37,29 +37,31 @@
   
   <H2>Summary</H2>
   
  -<P>Any document with mime type <CODE>httpd/send-as-is</CODE> will be
  -processed by this module.  Apache will send the document without
  -adding most of the usual HTTP headers.
  +<p>This module provides the handler <code>send-as-is</code> wich
  +causes Apache to send the document without adding most of the usual
  +HTTP headers.</p>
   
   <P>This can be used to send any kind of data from the server,
   including redirects and other special HTTP responses, without
   requiring a cgi-script or an nph script.
   
  +<p>For historical reasons, this module will also process any file with
  +the mime type <code>httpd/send-as-is</code>.
  +
   <H2>Directives</H2>
   
   <P>This module provides no directives.
   
   <H2>Usage</H2>
   
  -<P>In the server configuration file, define a new mime type called
  -<CODE>httpd/send-as-is</CODE> <EM>e.g.</EM>
  -<BLOCKQUOTE><CODE>AddType httpd/send-as-is asis</CODE></BLOCKQUOTE>
  -this defines the <CODE>.asis</CODE> file extension as being of the new
  -<CODE>httpd/send-as-is</CODE> mime type. The contents of any file with a
  -<CODE>.asis</CODE> extension will then be sent by Apache to the client with
  -almost no changes. Clients will need HTTP headers to be attached, so do not
  -forget them. A Status: header is also required; the data should be the
  -3-digit HTTP response code, followed by a textual message.
  +<P>In the server configuration file, associate files with the
  +<code>send-as-is</code> handler <EM>e.g.</EM>
  +<BLOCKQUOTE><CODE>AddHandler send-as-is asis</CODE></BLOCKQUOTE>
  +The contents of any file with a <CODE>.asis</CODE> extension will then
  +be sent by Apache to the client with almost no changes. Clients will
  +need HTTP headers to be attached, so do not forget them. A Status:
  +header is also required; the data should be the 3-digit HTTP response
  +code, followed by a textual message.
   
   <P>Here's an example of a file whose contents are sent <EM>as is</EM>
   so as to tell the client that a file has redirected.
  
  
  

Mime
View raw message