]> granicus.if.org Git - apache/commitdiff
Remind people to grant access to directories that they Alias
authorRich Bowen <rbowen@apache.org>
Fri, 21 Feb 2003 17:35:23 +0000 (17:35 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 21 Feb 2003 17:35:23 +0000 (17:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98746 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_alias.xml

index c8407ad04fbaa23d5c53888a01f050e9bbbbcca7..31d46c33a756ef3572b809f0ae2ea9f140011bc2 100644 (file)
@@ -70,6 +70,19 @@ href="../urlmapping.html">Mapping URLs to the filesystem</a></seealso>
     sections are run through once before aliases are performed, so
     they will apply.)</p>
 
+    <p>In particular, if you are creating an <code>Alias</code> to a
+    directory outside of your <directive
+    module="code">DocumentRoot</directive>, you may need to explicitly
+    permit access to the target directory.</p>
+
+    <example><title>Example:</title>
+        Alias /image /ftp/pub/image
+        &lt;Directory /ftp/pub/image&gt;
+            Order allow,deny
+            Allow from all
+        &lt;/Directory&gt;
+    </example>
+
 </usage>
 </directivesynopsis>