在httpd.conf文件下找到这段:
- <span style="font-size: x-small;">#
- # Each directory to which Apache has access can be configured with respect
- # to which services and features are allowed and/or disabled in that
- # directory (and its subdirectories).
- #
- # First, we configure the "default" to be a very restrictive set of
- # features.
- #
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- </Directory></span>
将之修改为
- <span style="font-size: x-small;"># 允许指向外部的目录进行访问
- <Directory />
- Options Indexes FollowSymLinks
- AllowOverride None
- </Directory></span>