From: André Malo Date: Sun, 10 Nov 2002 02:56:33 +0000 (+0000) Subject: - -> X-Git-Tag: 2.0.44~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a64793bfeb26cc0158ada1920faddf1e755f9b8;p=apache - -> - some whitespace reformatting -> update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97470 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_dir.html.en b/docs/manual/mod/mod_dir.html.en index d8f4c5d3d8..e7845492fa 100644 --- a/docs/manual/mod/mod_dir.html.en +++ b/docs/manual/mod/mod_dir.html.en @@ -36,7 +36,7 @@ List of resources to look for when the client requests a directorySyntax: DirectoryIndex - local-url [local-url] ...Default: + local-url [local-url] ...Default: DirectoryIndex index.htmlContext: server config, virtual host, directory, .htaccessOverride: IndexesStatus: @@ -45,7 +45,7 @@ a directorySyntax:

The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the a directory - name. Local-url is the (%-encoded) URL of a document on + name. Local-url is the (%-encoded) URL of a document on the server relative to the requested directory; it is usually the name of a file in the directory. Several URLs may be given, in which case the server will return the first one that it finds. If @@ -53,9 +53,9 @@ a directorySyntax: set, the server will generate its own listing of the directory.

-

Example

-DirectoryIndex index.html -

+

Example

+ DirectoryIndex index.html +

then a request for http://myserver/docs/ would return http://myserver/docs/index.html if it @@ -64,8 +64,11 @@ DirectoryIndex index.html

Note that the documents do not need to be relative to the directory;

-

DirectoryIndex index.html index.txt /cgi-bin/index.pl

+

+ DirectoryIndex index.html index.txt /cgi-bin/index.pl +

+

would cause the CGI script /cgi-bin/index.pl to be - executed if neither index.html or - index.txt existed in a directory.

+ executed if neither index.html or index.txt + existed in a directory.

\ No newline at end of file diff --git a/docs/manual/mod/mod_dir.xml b/docs/manual/mod/mod_dir.xml index f0f98c7a95..596ef927db 100644 --- a/docs/manual/mod/mod_dir.xml +++ b/docs/manual/mod/mod_dir.xml @@ -39,20 +39,17 @@ List of resources to look for when the client requests a directory DirectoryIndex - local-url [local-url] ... + local-url [local-url] ... DirectoryIndex index.html -server config -virtual host -directory -.htaccess - +server configvirtual host +directory.htaccess Indexes

The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the a directory - name. Local-url is the (%-encoded) URL of a document on + name. Local-url is the (%-encoded) URL of a document on the server relative to the requested directory; it is usually the name of a file in the directory. Several URLs may be given, in which case the server will return the first one that it finds. If @@ -60,9 +57,9 @@ a directory set, the server will generate its own listing of the directory.

-Example -DirectoryIndex index.html - + Example + DirectoryIndex index.html +

then a request for http://myserver/docs/ would return http://myserver/docs/index.html if it @@ -71,10 +68,13 @@ DirectoryIndex index.html

Note that the documents do not need to be relative to the directory;

-DirectoryIndex index.html index.txt /cgi-bin/index.pl + + DirectoryIndex index.html index.txt /cgi-bin/index.pl + +

would cause the CGI script /cgi-bin/index.pl to be - executed if neither index.html or - index.txt existed in a directory.

+ executed if neither index.html or index.txt + existed in a directory.

diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 2bd651046c..8dfd65a9ae 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -231,7 +231,7 @@ server ... </Directory>svCEnclose a group of directives that apply only to the named file-system directory and sub-directories DirectoryIndex - local-url [local-url] ... index.html svdhBList of resources to look for when the client requests + local-url [local-url] ... index.html svdhBList of resources to look for when the client requests a directory <DirectoryMatch regex> ... </Directory>svCEnclose directives that apply to