![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
httpd
喵霸天下
天下事有难易乎,为之,则难者亦易也!
展开
-
Forbidden You don‘t have permission to access / on this server. apache2.4 tar源码安装
(1) vim /usr/local/apache2/conf/httpd.conf 中 Include conf/extra/httpd-vhosts.conf将此行注释,就不会提示了。 这个是打开了 虚拟主机 的配置,但是虚拟主机并没有配置,所以报错。(2)如果配置了虚拟主机,那便是配置文件没有写好,重新配置即可。vim /usr/local/apache2/conf/extra/httpd-vhosts.conf<VirtualHost *:80>原创 2021-01-24 15:49:58 · 176 阅读 · 0 评论 -
Forbidden You don‘t have permission to access / on this server.
Forbidden You don’t have permission to access / on this server.]禁止你没有权限访问/在这个服务器上。]启动httpd 服务报错。查询vim /etc/httpd/conf/httpd.conf 配置文件,<Directory “/httpd/webserver”>DocumentRoot “/httpd/webserver”两个地方 路径,参数接皆正确。后来发现,是更改位置错了。更改位置错了更改位置错了更改原创 2021-01-20 23:33:17 · 934 阅读 · 0 评论