Last active
February 12, 2016 13:32
-
-
Save jaynzr/355af6290c2f1bab6d2a to your computer and use it in GitHub Desktop.
Allow httpd to connect db in CentOS. selinux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setsebool -P httpd_can_network_connect 1 | |
setsebool -P httpd_can_network_connect_db 1 | |
chcon -t httpd_sys_rw_content_t <writable_folders> -R | |
chcon -t httpd_sys_content_t <webroot> -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment