From 1b2cc09c0463b5ee9013c36673e75b72a26bf9e6 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Fri, 15 Jul 2011 23:02:06 +0000 Subject: [PATCH] xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1147343 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_alias.html.en | 6 +++--- docs/manual/mod/mod_dir.html.en | 33 +++++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/mod_alias.html.en b/docs/manual/mod/mod_alias.html.en index ba2992181e4..64f52189334 100644 --- a/docs/manual/mod/mod_alias.html.en +++ b/docs/manual/mod/mod_alias.html.en @@ -128,10 +128,10 @@ Alias /image /ftp/pub/image

-

A request for http://myserver/image/foo.gif would cause +

A request for http://example.com/image/foo.gif would cause the server to return the file /ftp/pub/image/foo.gif. Only complete path segments are matched, so the above alias would not match a - request for http://myserver/imagefoo.gif. For more complex + request for http://example.com/imagefoo.gif. For more complex matching using regular expressions, see the AliasMatch directive.

Note that if you include a trailing / on the @@ -443,7 +443,7 @@ target as a CGI script ScriptAlias /cgi-bin/ /web/cgi-bin/

-

A request for http://myserver/cgi-bin/foo would cause the +

A request for http://example.com/cgi-bin/foo would cause the server to run the script /web/cgi-bin/foo. This configuration is essentially equivalent to:

diff --git a/docs/manual/mod/mod_dir.html.en b/docs/manual/mod/mod_dir.html.en index af4870c204b..9dfb8f354d8 100644 --- a/docs/manual/mod/mod_dir.html.en +++ b/docs/manual/mod/mod_dir.html.en @@ -59,6 +59,7 @@

Directives

@@ -92,8 +93,8 @@ a directory DirectoryIndex index.html

-

then a request for http://myserver/docs/ would - return http://myserver/docs/index.html if it +

then a request for http://example.com/docs/ would + return http://example.com/docs/index.html if it exists, or would list the directory if it did not.

Note that the documents do not need to be relative to the @@ -113,6 +114,34 @@ a directory as well.

+
+
top
+

DirectoryIndexRedirect Directive

+ + + + + + + + +
Description:Configures an external redirect for directory indexes. +
Syntax:DirectoryIndexRedirect on | off | permanent | temp | seeother | +3xx-code +
Default:DirectoryIndexRedirect off
Context:server config, virtual host, directory, .htaccess
Override:Indexes
Status:Base
Module:mod_dir
+

By default, the DirectoryIndex is selected + and returned transparently to the client. DirectoryIndexRedirect causes an external redirect + to instead be issued.

+ +

Example

+ DirectoryIndexRedirect on +

+ +

A request for http://example.com/docs/ would + return a temporary redirect to http://example.com/docs/index.html + if it exists.

+ +
top

DirectorySlash Directive

-- 2.47.2