网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   服务器环境搭建 (https://www.0058.net/forumdisplay.php?f=5)
-   -   如何在Apache中设置禁止访问目录?( (https://www.0058.net/showthread.php?t=4877)

New Effington 2014-11-27 01:30 PM

如何在Apache中设置禁止访问目录?(
 
在 httpd.conf 作一下小小的修改就可以解決了~

首先请找到以下文字:

<Directory \ "你的apache安装路径\ ">

#
# 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


把 Options Indexes FollowSymLinks这行改成 Options None 就可以了。


All times are GMT +8. The time now is 10:38 PM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.