当前位置:网站首页>Apache2 configuration denies access to the directory, but can access the settings of the files inside
Apache2 configuration denies access to the directory, but can access the settings of the files inside
2022-06-28 11:31:00 【soha_ dong】
First find /etc/apache2/sites-available# In the catalog "default" This folder . Add the directory you want to set inside
<Directory /var/www/XXX>
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>"Options FollowSymLinks" The main thing is that this sentence is very important , The default is "Options FollowSymLinks" In this way
It's really just the Indexes Get rid of ,Indexes Indicates that if the current directory does not have index.html The directory structure is displayed , Remove it to intercept the current directory
边栏推荐
- 分析list中有无重复数据且重复了几次
- Word、PDF、TXT文件实现全文内容检索需要用什么方法?
- day36 js笔记 ECMA6语法 2021.10.09
- 合约量化系统开发(搭建讲解)丨合约量化系统开发(源码解析及现成案例)
- Secretary of the Ukrainian national security and National Defense Commission: will carry out precision strikes against targets in Russia
- soapui的菜鸟教程
- 方法重写(Override)
- Compareto() and equals() methods of BigDecimal class
- Blue Bridge Cup Maze (dfs+ backtracking)
- 水果FL Studio/Cubase/Studio one音乐宿主软件对比
猜你喜欢

QML control type: tabbar

《运营之光3.0》全新上市——跨越时代,自我颠覆的诚意之作!

携手Cigent:群联为SSD主控固件引入高级网络安全防护特性

Day39 prototype chain and page fireworks effect 2021.10.13

太阳能无线LED显示屏的特点

远程登录sshd服务

一套十万级TPS的IM综合消息系统的架构实践与思考

网页提示此站点不安全解决方案

Oracle 日期格式化异常:无效数字

论文阅读 (59):Keyword-Based Diverse Image Retrieval with Variational Multiple Instance Graph
随机推荐
使用logrotate对宝塔的网站日志进行自动切割
Makefile简介
培训通知|2022年境外中资企业机构及人员疫情防控和安全防范专题培训通知
js中的class类模式及语法 2021.11.10
[sciter]: use of sciter FS module scanning file API and its details
面试步骤的面试技巧
day31 js笔记 DOM下 2021.09.26
什么是主链系统?
js中的数组方法 2021.09.18
Apache2配置对目录拒绝访问,但是可以访问里面文件的设置
String & heap & method area
Gee: mcd64a1 based globfire daily fire data set
Day39 prototype chain and page Fireworks Effect 2021.10.13
JS基础10
使用 Calendar 计算时间
QML control type: tabbar
BigDecimal 类的 compareTo() 和 equals()方法
js中this的默认指向及如何修改指向 2021.11.09
拼接String集合中的字符串_基于Stream
day30 js笔记 BOM和DOM 2021.09.24