From 36c25f8ffa86866c8ed630a173b76ea9a329fd87 Mon Sep 17 00:00:00 2001
From: Graham Leggett
Date: Thu, 1 Dec 2011 12:40:51 +0000
Subject: mod_rewrite: Add the AllowNoSlash RewriteOption, which makes it
possible for RewriteRules to be placed in .htaccess files that match the
directory with no trailing slash. PR 48304.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209053 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_rewrite.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
(limited to 'docs/manual')
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index c12df7f351..122d9ae741 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -171,6 +171,21 @@ later
Available in Apache HTTP Server 2.3.10 and later.
+ AllowNoSlash
+
+ By default, mod_rewrite will ignore URLs that map to a
+ directory on disk but lack a trailing slash, in the expectation that
+ the mod_dir module will issue the client with a redirect to
+ the canonical URL with a trailing slash.
+
+ When the DirectorySlash directive
+ is set to off, the AllowNoSlash
option can be enabled to ensure
+ that rewrite rules are no longer ignored. This option makes it possible to
+ apply rewrite rules within .htaccess files that match the directory without
+ a trailing slash, if so desired. Available in Apache HTTP Server 2.4.0 and
+ later.
+
+
--
cgit v1.2.3