Removing controls in subdirectories
The following example shows how to use the Satisfy directive to disable access controls in a subdirectory of a protected directory. This technique should be used with caution, because it will also disable any access controls imposed by mod_authz_host.
[code gutter="false" highlight="7"]
<Directory /path/to/protected/>
Require user david
</Directory>
<Directory /path/to/protected/unprotected>
# All access controls and authentication are disabled
# in this directory
Satisfy Any
Allow from all
</Directory>[/code]
截取自apache 2.2手册http://httpd.apache.org/docs/2.2/mod/core.html#require
Satisfy Any
Allow from all
都要加上,是吧?
@auxten
是的~~