X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
73
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
6 years ago

apache提示You don’t have permission to access /* on this server.的解决方法

首先,X-osadmin在这里祝大家520快乐!近日有朋友遇到了这样一个问题:在CentOS 8下安装php-fpm+apache,在浏览器打开时均提示You don’t have permission to access /index.html on this server.

问题主要原因:虚拟主机设置中没有配置好目录权限,所以Apache使用了默认的权限配置,即Require all denied。

解决方法:在 /etc/httpd/conf/httpd.conf 中修改如下字段:

<Directory />

xxx

Require all granted

xxx

</Directory>

PS:其他设置已使用xxx代替。

最后,给网站目录授予访问权限,并且重启Apache,大功告成!

Enjoy~

  • 技术小絮
等 人表示很赞
3,890
0

📮Comments

No Comment.
xosadmin
xosadmin
4 years ago
推荐 git提示server certificate verification failed的解决方法
在部分Ubuntu或者Debian系统上,git在clone或者push时可能会报出server certificate verification failed的错误,具体报错如下: server certificate verifica ...
  • 技术小絮
886 0
xosadmin
xosadmin
1 year ago
推荐 HPE Microserver系列降低噪音的一种办法
部分HPE Microserver Gen10+和Gen11用户反映,安装了Debian/Proxmox或者更换了硬盘后出现风扇声音很大的问题。经过搜索和研究,发现其中一种解决方法,即在系统中安装HPE的amsd组件。具体方式如下: 添加 ...
  • 技术小絮
105 0
xosadmin
xosadmin
5 years ago
推荐 Debian 11通过apt安装proxmox 7
Proxmox Logo (photo: proxmox.com) Debian官方于近日更新了Debian Bullseye系统,即Debian 11系统。同时,Proxmox VE也发布了新的7.0版本。与之前版本相同的是,本次的Pr ...
  • proxmox
  • 技术小絮
2,768 0
xosadmin
xosadmin
7 years ago
推荐 Dell Chromebook 13安装Windows 10教程
据了解,Dell于近年悄然上了一款产品:Chromebook 13。其的价格非常吸引人,各项配置也不逊色,其炫酷的外观和亲民的价格,令许多人为之向往。唯一的不同,即如其的名字,预装了Chrome OS系统及特别的Bios。有许多小伙伴不熟 ...
  • chromebook
  • 技术小絮
17,344 3
xosadmin
xosadmin
6 months ago
推荐 PVE Cluster给node更换corosync IP的方法
在本篇文章中,假设PVE Cluster有如下节点,并且需要更换其中一个节点的corosync/cluster通讯IP,以讲述更换方法。 假设的Cluster: Node A: 192.168.1.1/24 Node B: 192.168. ...
  • proxmox
  • 技术小絮
107 0
  • Proxmox强制删除离线集群节点方法
  • PVE Cluster给node更换corosync IP的方法
  • HPE Microserver系列降低噪音的一种办法
  • Debian 13 Trixie安装Proxmox VE
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案

文章聚合

  • Proxmox强制删除离线集群节点方法
  • PVE Cluster给node更换corosync IP的方法
  • Debian 13 Trixie安装Proxmox VE
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘

Multilangual Translator

Copyright © 2016-2026 X-osadminの自留地. All rights reserved. 萌ICP备20258855号
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login