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

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


[error] (13)Permission denied: proxy: HTTP: attempt to connect to 10.x.x.x:7002 (10.x.x.x) failed
To fix this, first test by setting the boolean dynamically (not permanent yet):
 /usr/sbin/setsebool httpd_can_network_connect 1
If that works, you can set it so that the default policy is changed and this setting will persist across reboots:
 /usr/sbin/setsebool -P httpd_can_network_connect 1
Hope this saves others some time!

No comments:

Post a Comment