- 论坛徽章:
- 0
|
http://foxcai.3322.org
当要下载一个文件是就提示“HTTP 403(禁止访问)”
我为目录和文件都设置为了755,http.conf对主目录设置如下:
DocumentRoot "../ftp/data"
<Directory "../ftp/data">;
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>;
我的这个目录同时也是FTP的主目录,再FTP里可以下载文件。
我记得我对apache并没有做什么改动啊! |
|