Apache 配置需注意的事情 chcon -Rv --type=httpd_sys_content_t ?网站目录/
?
此时Apache 只能访问本地服务器,如果要访问远程服务器该怎么办呢?执行命令
???
setsebool -P httpd_can_network_connect=1
可以详细参考资料:
?????? http://wiki.centos.org/zh/HowTos/SELinux