当前位置:网站首页>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
边栏推荐
- MySQL installation configuration and solving the problem of forgetting root password when reinstalling MySQL
- [sciter]:sciter如何使用i18实现桌面应用多语言切换及其利弊
- 网页提示此站点不安全解决方案
- 工作组环境下的内网渗透:一些基础打法
- Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
- mysql-.sql文件钓鱼上线
- 元宇宙系统的发展与原理介绍
- day33 js笔记 事件(下)2021.09.28
- 一套十万级TPS的IM综合消息系统的架构实践与思考
- 基于验证码识别的机器学习项目captcha_trainer操作实践
猜你喜欢

Fancy features and cheap prices! What is the true strength of Changan's new SUV?

远程登录sshd服务

Day39 prototype chain and page fireworks effect 2021.10.13

Cannot redeclare block range variables

Day33 JS note event (Part 2) September 28, 2021

Redis6 1: what problems can be solved by the introduction of NoSQL and redis?

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

day32 js笔记 事件(上)2021.09.27

Day39 prototype chain and page Fireworks Effect 2021.10.13

网页提示此站点不安全解决方案
随机推荐
使用API快捷创建ECS
Compareto() and equals() methods of BigDecimal class
动态库(共享库)的制作和使用
Convert the file URL in the browser to a file stream
Graduation season, some suggestions for you who are new to the society
Makefile简介
科研丨Web of Science检索技巧
培训通知|2022年境外中资企业机构及人员疫情防控和安全防范专题培训通知
Calculate time using calendar
Download and install mysql5.7 for windows 10
js中this的默认指向及如何修改指向 2021.11.09
Create ECS using API shortcut
js中的数组方法 2021.09.18
When an entity is converted to JSON, the field with null value is lost
网页提示此站点不安全解决方案
Word、PDF、TXT文件实现全文内容检索需要用什么方法?
day34 js笔记 正则表达式 2021.09.29
论文阅读 (59):Keyword-Based Diverse Image Retrieval with Variational Multiple Instance Graph
Apache2配置对目录拒绝访问,但是可以访问里面文件的设置
BigDecimal 类的 compareTo() 和 equals()方法