当前位置:网站首页>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
边栏推荐
- [sciter]: how sciter uses i18 to realize multi language switching of desktop applications and its advantages and disadvantages
- MySql5.7添加新用户
- Xshell和Xftp使用教程
- 如临现场的视觉感染力,NBA决赛直播还能这样看?
- 毕业了
- 随机森林以及 AMR 训练出的诗词制造器
- Training notice | special training notice on epidemic prevention and security prevention for overseas Chinese funded enterprises, institutions and personnel in 2022
- Download and install mysql5.7 for windows 10
- 功能真花哨,价格真便宜!长安全新SUV真实力到底怎样?
- New listing of operation light 3.0 - a sincere work of self subversion across the times!
猜你喜欢
论文阅读 (59):Keyword-Based Diverse Image Retrieval with Variational Multiple Instance Graph
水果FL Studio/Cubase/Studio one音乐宿主软件对比
day39 原型链及页面烟花效果 2021.10.13
Cannot redeclare block range variables
Get current system date
New listing of operation light 3.0 - a sincere work of self subversion across the times!
Redis6 1: what problems can be solved by the introduction of NoSQL and redis?
Blue Bridge Cup Maze (dfs+ backtracking)
Making and using of static library
vsftpd服务的部署及优化
随机推荐
soapui的菜鸟教程
使用 Calendar 计算时间
近况
Is it safe to buy stocks and open an account on the account QR code of the CICC securities manager? Ask the great God for help
Calculate time using calendar
MySQL cannot query the maximum value using the max function
Day23 JS notes 2021.09.14
js中的class类模式及语法 2021.11.10
Jetpack Compose Desktop 桌面版本的打包和发布应用
2022 open source software security status report: over 41% of enterprises do not have enough confidence in open source security
太阳能无线LED显示屏的特点
Scientific research - web of science retrieval skills
Create ECS using API shortcut
Download and install mysql5.7 for windows 10
Analyze whether there is duplicate data in the list and repeat it several times
什么是DAPP系统发展与解析理解
New listing of operation light 3.0 - a sincere work of self subversion across the times!
Redis6 一:Nosql引入、Redis可以解决什么问题?
JS foundation 6
GEE:基于 MCD64A1 的 GlobFire 日常火灾数据集