لینوکس: مدیریت تنظیمات SELinux برای apache

Allow access by executing:
# setsebool -P httpd_can_network_connect 1
Description:
Allow HTTPD scripts and modules to connect to databases over the network.

Allow access by executing:
# setsebool -P httpd_can_network_connect_db 1


The solution in this case is to use restorecon to reset the file contexts back to normal:
# restorecon -rv /var/www/html
درخت مرجع: 

افزودن نظر جدید