]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Clarify trailing slashes on aliases. Resolves tid50545
authorRich Bowen <rbowen@apache.org>
Wed, 5 Jan 2011 20:08:12 +0000 (20:08 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 5 Jan 2011 20:08:12 +0000 (20:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1055614 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_alias.xml

index 83938c1795460ccc081b16787d3e81e3ebd31105..764119de41973c72b02bc72308387084f04abe32 100644 (file)
@@ -127,7 +127,10 @@ href="../urlmapping.html">Mapping URLs to the filesystem</a></seealso>
 
     <dl><dd><code>Alias /icons/ /usr/local/apache/icons/</code></dd></dl>
 
-    <p>then the url <code>/icons</code> will not be aliased.</p>
+    <p>then the url <code>/icons</code> will not be aliased, as it lacks
+    that trailing /. Likewise, if you omit the slash on the
+    <var>url-path</var> then you must also omit it from the
+    <var>file-path</var>.</p>
 
     <p>Note that you may need to specify additional <directive
     type="section" module="core">Directory</directive> sections which