From a9fbf24e63ea9f0920b3b68cd1b6f1483dd43014 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Tue, 2 Apr 2002 20:40:48 +0000 Subject: Update the transformations. Sorry for the huge diff. It seems that switching from Xalan-j to xalan-c causes the attributes to get reordered. Suggestions for improvements to the build system would be greatly appreciated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94399 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_alias.html | 70 +++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'docs/manual/mod/mod_alias.html') diff --git a/docs/manual/mod/mod_alias.html b/docs/manual/mod/mod_alias.html index e814f27c78..3d47e5f85e 100644 --- a/docs/manual/mod/mod_alias.html +++ b/docs/manual/mod/mod_alias.html @@ -2,27 +2,27 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --->mod_alias - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Apache Module mod_alias

Description:Provides for mapping different parts of the host - filesystem in the document tree and for URL redirection
Status:Base
Module Identifier:alias_module

Summary

+-->mod_alias - Apache HTTP Server
[APACHE DOCUMENTATION]

Apache HTTP Server Version 2.0

Apache Module mod_alias

Description:Provides for mapping different parts of the host + filesystem in the document tree and for URL redirection
Status:Base
Module Identifier:alias_module

Summary

The directives contained in this module allow for manipulation and control of URLs as requests arrive at the server. The - Alias and ScriptAlias directives are used to + Alias and ScriptAlias directives are used to map between URLs and filesystem paths. This allows for content - which is not directly under the DocumentRoot served as part of the web - document tree. The ScriptAlias directive has the + which is not directly under the DocumentRoot 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.

-

The Redirect +

The 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.

-

Directives

See also


Alias Directive

Description: Maps URLs to filesystem locations
Syntax: Alias URL-path - file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias
+

Directives

See also


Alias Directive

Description: Maps URLs to filesystem locations
Syntax: Alias URL-path + file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias

The Alias directive allows documents to be stored in the local filesystem other than under the - DocumentRoot. URLs with a + DocumentRoot. URLs with a (%-decoded) path beginning with url-path will be mapped to local files beginning with directory-filename.

@@ -39,18 +39,18 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX /icons/ /usr/local/apache/icons/ then the url /icons will not be aliased.

-

Note that you may need to specify additional <Directory> sections which cover +

Note that you may need to specify additional <Directory> sections which cover the destination of aliases. Aliasing occurs before - <Directory> sections + <Directory> sections are checked, so only the destination of aliases are affected. - (Note however <Location> + (Note however <Location> sections are run through once before aliases are performed, so they will apply.)

-

AliasMatch Directive

Description: Maps URLs to filesystem locations using regular -expressions
Syntax:AliasMatch regex - file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias
-

This directive is equivalent to Alias, but makes use of standard +


AliasMatch Directive

Description: Maps URLs to filesystem locations using regular +expressions
Syntax:AliasMatch regex + file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias
+

This directive is equivalent to Alias, but makes use of standard regular expressions, instead of simple prefix matching. The supplied regular expression is matched against the URL-path, and if it matches, the server will substitute any parenthesized @@ -60,8 +60,8 @@ expressionsS

AliasMatch ^/icons(.*) /usr/local/apache/icons$1
-

Redirect Directive

Description: Sends an external redirect asking the client to fetch -a different URL
Syntax:Redirect [status] URL-path URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias
+

Redirect Directive

Description: Sends an external redirect asking the client to fetch +a different URL
Syntax:Redirect [status] URL-path URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias

The Redirect directive maps an old URL into a new one. The new URL is returned to the client which attempts to fetch it again with the new address. URL-path a (%-decoded) @@ -81,7 +81,7 @@ a different URL" class="directive"><Directory> +inside of <Directory> sections.

If no status argument is given, the redirect will @@ -118,10 +118,10 @@ sections.

otherwise it must be omitted. Note that the status must be known to the Apache code (see the function send_error_response in http_protocol.c).

-

RedirectMatch Directive

Description: Sends an external redirect asking the client to fetch +

RedirectMatch Directive

Description: Sends an external redirect asking the client to fetch a different URL based on a regular expression match of the -current URL
Syntax:RedirectMatch [status] regex URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias
-

This directive is equivalent to Redirect, but makes use of standard +current URL

Syntax:RedirectMatch [status] regex URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias
+

This directive is equivalent to Redirect, but makes use of standard regular expressions, instead of simple prefix matching. The supplied regular expression is matched against the URL-path, and if it matches, the server will substitute any parenthesized @@ -131,21 +131,21 @@ current URLS

RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg
-

RedirectPermanent Directive

Description: Sends an external permanent redirect asking the client to fetch -a different URL
Syntax:RedirectPermanent URL-path URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias
+

RedirectPermanent Directive

Description: Sends an external permanent redirect asking the client to fetch +a different URL
Syntax:RedirectPermanent URL-path URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias

This directive makes the client know that the Redirect is permanent (status 301). Exactly equivalent to Redirect permanent.

-

RedirectTemp Directive

Description: Sends an external temporary redirect asking the client to fetch -a different URL
Syntax:RedirectTemp URL-path URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias
+

RedirectTemp Directive

Description: Sends an external temporary redirect asking the client to fetch +a different URL
Syntax:RedirectTemp URL-path URL
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Base
Module:mod_alias

This directive makes the client know that the Redirect is only temporary (status 302). Exactly equivalent to Redirect temp.

-

ScriptAlias Directive

Description: Maps a URL to a filesystem location and designates the -target as a CGI script
Syntax:ScriptAlias -URL-path file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias
+

ScriptAlias Directive

Description: Maps a URL to a filesystem location and designates the +target as a CGI script
Syntax:ScriptAlias +URL-path file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias

The ScriptAlias directive has the same - behavior as the Alias + behavior as the Alias directive, except that in addition it marks the target directory as containing CGI scripts that will be processed by mod_cgi's cgi-script handler. URLs with a (%-decoded) path beginning with URL-path will be mapped @@ -158,10 +158,10 @@ target as a CGI scriptA request for http://myserver/cgi-bin/foo would cause the server to run the script /web/cgi-bin/foo.

-

ScriptAliasMatch Directive

Description: Maps a URL to a filesystem location using a regular expression -and designates the target as a CGI script
Syntax:ScriptAliasMatch -regex file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias
-

This directive is equivalent to ScriptAlias, but makes use of standard +


ScriptAliasMatch Directive

Description: Maps a URL to a filesystem location using a regular expression +and designates the target as a CGI script
Syntax:ScriptAliasMatch +regex file-path|directory-path
Context:server config, virtual host
Status:Base
Module:mod_alias
+

This directive is equivalent to ScriptAlias, but makes use of standard regular expressions, instead of simple prefix matching. The supplied regular expression is matched against the URL-path, and if it matches, the server will substitute any parenthesized @@ -171,4 +171,4 @@ and designates the target as a CGI script ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1 -


Apache HTTP Server Version 2.0

IndexHome \ No newline at end of file +

Apache HTTP Server Version 2.0

IndexHome \ No newline at end of file -- cgit v1.2.1