From: Christophe Jaillet
Date: Fri, 24 Aug 2018 19:43:27 +0000 (+0000)
Subject: Fix an example (/foo vs /foo/bar)
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a348cc440df847dd1cdaecfd2aac9ed78c869223;p=apache
Fix an example (/foo vs /foo/bar)
Synch with 2.4.x and imporve syntax highlight
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1838938 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml
index ae80a8e6d7..87f061f103 100644
--- a/docs/manual/sections.xml
+++ b/docs/manual/sections.xml
@@ -100,7 +100,7 @@ applied only if mod_mime_magic is available.
<IfModule mod_mime_magic.c>
- MimeMagicFile conf/magic
+ MimeMagicFile "conf/magic"
</IfModule>
@@ -305,7 +305,7 @@ and modules like mod_rewrite.
<DirectoryMatch "^/var/www/combined/(?<SITENAME>[^/]+)">
- require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
+ require ldap-group "cn=%{env:MATCH_SITENAME},ou=combined,o=Example"
</DirectoryMatch>
@@ -412,7 +412,7 @@ will allow only a subset of clients to access the
www.example.com
website using the proxy server:
-<Proxy http://www.example.com/*>
+<Proxy "http://www.example.com/*">
Require host yournetwork.example.com
</Proxy>
@@ -469,7 +469,7 @@ are interpreted, it is important to understand how this works.
Directory)
DirectoryMatch
- (and <Directory ~>
)
+ (and <Directory "~">
)
Files and
Apart from Directory, within each group the sections are
processed in the order they appear in the configuration files.
- For example, a request for /foo will match
+ For example, a request for /foo/bar will match
<Location "/foo/bar">
and
<Location "/foo">
(group 4 in this case):
both sections will be evaluated