2362N/A XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 886N/A This file is generated from xml source: DO NOT EDIT 886N/A XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 886N/A --><
title>mod_asis- Apache HTTP Server</
title><
link rel="stylesheet" type="text/css" href="/style/manual.css"/></
head><
body><
blockquote><
div align="center"><
img src="/images/sub.gif" alt="[APACHE DOCUMENTATION]"/><
h3>Apache HTTP Server Version 2.0</
h3></
div><
h1 align="center">Apache Module mod_asis</
h1><
table bgcolor="#cccccc" cellpadding="0" cellspacing="1"><
tr><
td><
table bgcolor="#ffffff"><
tr><
td valign="top"><
span class="help">Description:</
span></
td><
td>Sends files that contain their own
886N/AHTTP headers</
td></
tr><
tr><
td><
a class="help" href="module-dict.html#Status">Status:</
a></
td><
td>Base</
td></
tr><
tr><
td><
a class="help" href="module-dict.html#ModuleIdentifier">Module Identifier:</
a></
td><
td>asis_module</
td></
tr></
table></
td></
tr></
table><
h2>Summary</
h2>
886N/A <
p>This module provides the handler <
code>send-as-is</
code>
886N/A which causes Apache to send the document without adding most of
886N/A the usual HTTP headers.</
p>
886N/A <
p>This can be used to send any kind of data from the server,
886N/A including redirects and other special HTTP responses, without
886N/A requiring a cgi-script or an nph script.</
p>
886N/A <
p>For historical reasons, this module will also process any
886N/A<
h2>Directives</
h2><
p/><
h2>Usage</
h2>
2362N/A <
p>In the server configuration file, associate files with the
2362N/A <
code>send-as-is</
code> handler <
em>
e.g.</
em></
p>
886N/A<
blockquote><
table cellpadding="10"><
tr><
td bgcolor="#eeeeee"><
code>AddHandler send-as-is asis</
code></
td></
tr></
table></
blockquote>
886N/A <
p>The contents of any file with a <
code>.asis</
code> extension
886N/A will then be sent by Apache to the client with almost no
886N/A changes. Clients will need HTTP headers to be attached, so do
886N/A not forget them. A Status: header is also required; the data
886N/A should be the 3-digit HTTP response code, followed by a textual
886N/A <
p>Here's an example of a file whose contents are sent <
em>as
886N/A is</
em> so as to tell the client that a file has
886N/A<
blockquote><
table cellpadding="10"><
tr><
td bgcolor="#eeeeee"><
code>Status: 301 Now where did I leave that URL<
br/>
886N/A <TITLE>Lame excuses'R'us</TITLE><
br/>
886N/A <H1>Fred's exceptionally wonderful page has moved
886N/A</
code></
td></
tr></
table></
blockquote>
886N/A <
p>Notes: the server always adds a Date: and Server: header to
886N/A the data returned to the client, so these should not be
886N/A included in the file. The server does <
em>not</
em> add a
886N/A Last-Modified header; it probably should. </
p>
886N/A<
hr/></
blockquote><
h3 align="center">Apache HTTP Server Version 2.0</
h3><
a href="./"><
img src="/images/index.gif" alt="Index"/></
a><
a href="../"><
img src="/images/home.gif" alt="Home"/></
a></
body></
html>