SELinux Apache proxy error permission denied

SELinux Apache proxy error permission denied 的解决方法。

在启动 Apache 的时候出现以下类似错误时:

[proxy:error] [pid 28961:tid 139839546509056] (13)Permission denied: AH00957: HTTP: attempt to connect to 198.143.164.251:80 (*) failed.

执行以下命令,并重启即可:

# /usr/sbin/setsebool -P httpd_can_network_connect 1

SELinux is preventing httpd from name_bind access on the tcp_socket port
Arch Linux 安装 ZSH

评论