当前位置:网站首页>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
边栏推荐
- ProCAST有限元铸造工艺模拟软件
- NFT卡牌链游系统开发dapp搭建技术详情
- 买股票在中金证券经理的开户二维码上开户安全吗?求大神赐教
- It is safer for individuals to choose which securities company to open an account for buying floor funds
- Oracle 日期格式化异常:无效数字
- 元宇宙系统的发展与原理介绍
- 合约量化交易系统开发 | 合约量化APP开发(现成案例)
- Adding a new user in MySQL 5.7
- [practice] 1364- implement a perfect waterfall flow component on the mobile terminal (with source code)
- Day39 prototype chain and page Fireworks Effect 2021.10.13
猜你喜欢

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

day39 原型鏈及頁面烟花效果 2021.10.13

day31 js笔记 DOM下 2021.09.26

Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system

科研丨Web of Science检索技巧

Redis6 一:Nosql引入、Redis可以解决什么问题?

Making and using of static library

day30 js笔记 BOM和DOM 2021.09.24

Unity screenshot function

Industry analysis - quick intercom, building intercom
随机推荐
day39 原型链及页面烟花效果 2021.10.13
Calculate time using calendar
Blue Bridge Cup Maze (dfs+ backtracking)
关于Pytorch中双向LSTM的输出表示问题
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
SQL中的DQL、DML、DDL和DCL是怎么区分和定义的
静态库的制作和使用
day24 js笔记 2021.09.15
Create ECS using API shortcut
人人都可以参与开源!龙蜥社区最不容错过的开发者活动来了
[sciter]:sciter如何使用i18实现桌面应用多语言切换及其利弊
New listing of operation light 3.0 - a sincere work of self subversion across the times!
董宇辉,新东方以及凤凰卫视
JS foundation 2
Wealth management for programmers
Day28 strict mode, string JS 2021.09.22
Thesis reading (59):keyword based diverse image retrieval with variable multiple instance graph
js中的class类模式及语法 2021.11.10
QML control type: tabbar
day31 js笔记 DOM下 2021.09.26