当前位置:网站首页>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
边栏推荐
- 时间戳和date转换「建议收藏」
- 一套十万级TPS的IM综合消息系统的架构实践与思考
- 什么是主链系统?
- Introduction to GDB
- Packaging and publishing application of jetpack compose desktop version
- Training notice | special training notice on epidemic prevention and security prevention for overseas Chinese funded enterprises, institutions and personnel in 2022
- Graduated
- Adding a new user in MySQL 5.7
- Cannot redeclare block range variables
- 100 important knowledge points that SQL must master: retrieving data
猜你喜欢

Characteristics of solar wireless LED display

培训通知|2022年境外中资企业机构及人员疫情防控和安全防范专题培训通知

Training notice | special training notice on epidemic prevention and security prevention for overseas Chinese funded enterprises, institutions and personnel in 2022

day37 js笔记 运动函数 2021.10.11

For example, the visual appeal of the live broadcast of NBA Finals can be seen like this?

String & heap & method area

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

day36 js笔记 ECMA6语法 2021.10.09

Word、PDF、TXT文件实现全文内容检索需要用什么方法?

Join hands with cigent: group alliance introduces advanced network security protection features for SSD master firmware
随机推荐
Makefile introduction
Analyze whether there is duplicate data in the list and repeat it several times
关于Pytorch中双向LSTM的输出表示问题
Graduated
动态库(共享库)的制作和使用
[sciter]:sciter如何使用i18实现桌面应用多语言切换及其利弊
day31 js笔记 DOM下 2021.09.26
时间戳和date转换「建议收藏」
Gee: mcd64a1 based globfire daily fire data set
Xshell and xftp tutorial
使用ssm项目对Mysql8进行访问的时候,出现连接失败和一些错误的解决办法
MySQL installation configuration and solving the problem of forgetting root password when reinstalling MySQL
Solve the problem of reading package listsdonebuilding dependency treereading state informationdone
Day23 JS notes 2021.09.14
Splicing strings in the string collection_ Stream based
MySQL cannot query the maximum value using the max function
Thesis reading (59):keyword based diverse image retrieval with variable multiple instance graph
Oracle 日期格式化异常:无效数字
Everyone can participate in open source! Here comes the most important developer activity in dragon lizard community
vsftpd服务的部署及优化