You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2003/02/21 18:34:31 UTC

cvs commit: httpd-2.0/docs/manual/mod mod_alias.xml

rbowen      2003/02/21 09:34:30

  Modified:    docs/manual/mod Tag: APACHE_2_0_BRANCH mod_alias.xml
  Log:
  Warn people to grant access to a directory that they Alias.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.9.2.1   +13 -0     httpd-2.0/docs/manual/mod/mod_alias.xml
  
  Index: mod_alias.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_alias.xml,v
  retrieving revision 1.9
  retrieving revision 1.9.2.1
  diff -u -r1.9 -r1.9.2.1
  --- mod_alias.xml	20 Oct 2002 01:05:42 -0000	1.9
  +++ mod_alias.xml	21 Feb 2003 17:34:30 -0000	1.9.2.1
  @@ -70,6 +70,19 @@
       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>