当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
赛尔号抽奖模拟求期望
TiDB v6.0.0 (DMR) :缓存表初试丨TiDB Book Rush
一套十万级TPS的IM综合消息系统的架构实践与思考
QML control type: tabbar
Get current system date
Analyze whether there is duplicate data in the list and repeat it several times
windows 10下载安装mysql5.7
《运营之光3.0》全新上市——跨越时代,自我颠覆的诚意之作!
人人都可以参与开源!龙蜥社区最不容错过的开发者活动来了
培训通知|2022年境外中资企业机构及人员疫情防控和安全防范专题培训通知
BigDecimal 类的 compareTo() 和 equals()方法
Day23 JS notes 2021.09.14
Splicing strings in the string collection_ Stream based
MySql5.7添加新用户
ProCAST有限元铸造工艺模拟软件
合约量化系统开发(搭建讲解)丨合约量化系统开发(源码解析及现成案例)
For example, the visual appeal of the live broadcast of NBA Finals can be seen like this?
[sciter]: how sciter uses i18 to realize multi language switching of desktop applications and its advantages and disadvantages
day37 js笔记 运动函数 2021.10.11
毕业季 新的开始









