Things You'll Need:
- SSH Access to your server
- Root access
-
Step 1
First we need to verify that SELinux is enabled.
Code:
[root@www ~]# getenforce
You should see something back that looks like
Enforcing -
Step 2
If you see a different result, try:
Code:
[root@www ~]# setenforce 1
If you get an error, then you do not have SELinux turned on. You will need to go to /etc/selinux/config and edit the file to enable SELinux.
Once you turn this on (or turn it off for that matter) you will have to reboot the linux server for the chagnes to take effect as they are done during the kernel loading. -
Step 3
Once SELinux is enabled, do the following
Set SELinux to allow remote connections for HTTP
Code:
setsebool -P httpd_can_network_connect=1 -
Step 4
Thats it! Your all done. Some people like to reboot to force a reload, but its not necessary unless you want to.








Comments
AminTaheri said
on 10/14/2008 Glad I could help.
chrisman said
on 10/14/2008 Thank you so much! This solved my problem instantly!