Posts

Showing posts with the label proxy: AJP: attempt to connect to

Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL

Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL I go above error when I have installed Apache web server and setup virtual host on CentOS 7. [error] (13)Permission denied: proxy: AJP: attempt to connect to 10.x.x.x:9002 (host.domain.com) failed By looking at error, I started seaching for permission issue and how to resolve it. But finally, I came across a blog which also mentioned the same issue. With help of it, I came to know this is because of  SELinux , which ship by default with  CentOS . Due to that httpd processes can't make an outbound connection. This command helps me to fix it. /usr/sbin/setsebool httpd_can_network_connect 1 Once my system rebooted, I again get into the same issue. The reason behind above command has not persisted the changes. To make it persist you need to pass  -p /usr/sbin/setsebool -P httpd_can_network_connect 1