Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Fedora 上遇到了 apache 2.4 的问题。当我在 Debian 上时
服务 apache2 启动
我可以从另一台计算机上访问这台机器,只需在浏览器上输入它的 IP 地址。但在 Fedora 上我不能。第二个问题是我无法访问 Fedora 本身的目录 localhost/cgi-bin/ 它说
禁止的 您无权访问此服务器上的 /cgi-bin/。
禁止的
您无权访问此服务器上的 /cgi-bin/。
我知道 httpd.conf 文件的问题(我的处于默认状态),我在 Stack 上阅读了一些答案,但不理解它们。请帮忙!
在 Fedora 23 上像这样启动 Apache(以 root 身份)
$ systemctl start httpd
检查是否启动
$ systemctl status httpd
使其默认启动:
$ systemctl enable httpd.service