From: Eric Covener Date: Fri, 15 Jul 2011 21:47:15 +0000 (+0000) Subject: doc for DirectoryIndexRedirect X-Git-Tag: 2.3.14^2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e896193f30a0ef8866d575a82c3224f28dcb6855;p=thirdparty%2Fapache%2Fhttpd.git doc for DirectoryIndexRedirect git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1147328 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_dir.xml b/docs/manual/mod/mod_dir.xml index 2a69d1db343..346e2977e73 100644 --- a/docs/manual/mod/mod_dir.xml +++ b/docs/manual/mod/mod_dir.xml @@ -103,6 +103,38 @@ a directory + +DirectoryIndexRedirect +Configures an external redirect for directory indexes. + +DirectoryIndexRedirect on | off | permanent | temp | seeother | +3xx-code + +DirectoryIndexRedirect off +server configvirtual host +directory.htaccess +Indexes +Available in version 2.3.14 and later + + +

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.

+ +
+
+ + DirectorySlash Toggle trailing slash redirects on or off