From d9b68396dbed4752dfd63c13dbf4e3d42bd27d59 Mon Sep 17 00:00:00 2001
From: Joshua Slive
-This module is contained in the Status: Base
+ The directives contained in this module allow for manipulation and
+control of URLs as requests arrive at the server. The
+ The A more powerful and flexible set of directives for manipulating
+URLs is contained in the
Dynamic Content
diff --git a/docs/manual/mod/index.html b/docs/manual/mod/index.html
index 092b26b3f1..357b5d3c77 100644
--- a/docs/manual/mod/index.html
+++ b/docs/manual/mod/index.html
@@ -32,9 +32,10 @@ directives.
Module mod_alias
mod_alias.c
file, and
-is compiled in by default. It provides for mapping different parts of the
-host filesystem in the the document tree, and for URL redirection.
+This module provides for mapping different parts of the
+host filesystem in the document tree, and for URL redirection.
+Source File: mod_alias.c
+
+Module Identifier: alias_module
+Summary
+
+Alias
and ScriptAlias
directives are used to
+map between URLs and filesystem paths. This allows for content which
+is not directly under the DocumentRoot
to be
+served as part of the web document tree. The ScriptAlias
+directive has the additional effect of marking the target directory as
+containing only CGI scripts.
+
+Redirect
directives are used to instruct clients
+to make a new request with a different URL. They are often used
+when a resource has moved to a new location.
+
+mod_rewrite
module.
+
+
Directives
-Compatibility: Available in Apache 1.3 and later
+>Module: mod_alias
This directive is equivalent to Alias, but
@@ -149,13 +181,7 @@ to activate the /icons
directory, one might use:
Module: mod_alias
-Compatibility: The directory and .htaccess context's
-are only available in versions 1.1 and later. The status
-argument is only available in Apache 1.2 or later.
+>Module: mod_alias
The Redirect directive maps an old URL into a new one. The new URL is returned
@@ -234,11 +260,7 @@ the function send_error_response
in http_protocol.c).
Module: mod_alias
-Compatibility: Available in Apache 1.3 and later
+>Module: mod_alias
This directive is equivalent to Redirect, but
@@ -278,11 +300,7 @@ one might use:
Module: mod_alias
-Compatibility: This directive is only available in Apache 1.2 and later
+>Module: mod_alias
This directive makes the client know that the Redirect is only
@@ -314,11 +332,7 @@ temp.
Module: mod_alias
-Compatibility: This directive is only available in Apache 1.2 and later
+>Module: mod_alias
This directive makes the client know that the Redirect is permanent
@@ -382,11 +396,7 @@ run the script /web/cgi-bin/foo.
Module: mod_alias
-Compatibility: Available in Apache 1.3 and later
+>Module: mod_alias
This directive is equivalent to ScriptAlias, but diff --git a/docs/manual/mod/mod_asis.html b/docs/manual/mod/mod_asis.html index 3ca8e7e906..a2af563789 100644 --- a/docs/manual/mod/mod_asis.html +++ b/docs/manual/mod/mod_asis.html @@ -16,21 +16,42 @@
mod_asis.c
file, and
-is compiled in by default. It provides for .asis
files. Any
-document with mime type httpd/send-as-is
will be processed by
-this module.
-
+This module provides for sending files which contain their own +HTTP headers. -
+
Status: Base
+
+Source File: mod_asis.c
+
+Module Identifier: asis_module
+
Any document with mime type httpd/send-as-is
will be
+processed by this module. Apache will send the document without
+adding most of the usual HTTP headers.
+
+
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. + +
This module provides no directives. -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.
In the server configuration file, define a new mime type called
httpd/send-as-is
e.g.
AddType httpd/send-as-is asis
this defines the .asis
file extension as being of the new
@@ -38,14 +59,14 @@ this defines the .asis
file extension as being of the new
.asis
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.+3-digit HTTP response code, followed by a textual message. -Here's an example of a file whose contents are sent as is so as to -tell the client that a file has redirected. -
-Status: 301 Now where did I leave that URL
+Here's an example of a file whose contents are sent as is
+so as to tell the client that a file has redirected.
+
Status: 301 Now where did I leave that URL
Location: http://xyz.abc.com/foo/bar.html
-Content-type: text/html
+Content-type: text/html
+
<HTML>
<HEAD>
@@ -58,10 +79,10 @@ Content-type: text/html
</BODY>
</HTML>
-Notes: the server always adds a Date: and Server: header to the data returned
+
+Notes: the server always adds a Date: and Server: header to the data returned
to the client, so these should not be included in the file.
The server does not add a Last-Modified header; it probably should.
-