用途:在目录下如果没有默认首页面(如index.html default.htm)时防止用户访问web时浏览目录 修改保存退出,重新启动apache ForbiddenYou don't have permission to access / on this server. Apache/2.0.53 (Unix) Server at 192.168.0.1Port 80 开启浏览: <Directory /> Options FollowSymLinks AllowOverride None Options Indexes #就加这句就可以了,目录按需要选择 </Directory> |
|