Home > Braindump > CentOS 5, default SELinux disallows mod_proxy

CentOS 5, default SELinux disallows mod_proxy

April 14th, 2009 Leave a comment Go to comments

Or well, it doesn’t disallow it, but it doesn’t allow httpd to make TCP connections.

To fix this temporarily run the following:
togglesebool httpd_can_network_connect

To fix this permanently (reboot persistent):
setsebool -P httpd_can_network_connect=1

Thanks to Simeon Says.. (new window)

Tags:
  1. No comments yet.
  1. No trackbacks yet.