- 论坛徽章:
- 0
|
我的web服务器是ibmhttp+websphere,不知道怎样才能禁止目录浏览,我只修改了httpd.conf文件,还有什么办法??
<Directory />;
Options FollowSymLinks
AllowOverride None
</Directory>;
<Directory /usr/web/wwwroot/web>;
# 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
# 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>; |
|