Disable SELinux for Apache
You can disable Apache SELinux protection easily.
Please keep in mind that by disabling SELinux for apache you are inviting more security related problems.
Disable Apache SELinux Protection
Open /etc/selinux/targeted/booleans file using a text editor:
Append or modify value for httpd_disable_trans as follows:
Save and close the file. Type the following two commands:
# /etc/init.d/httpd restart
GUI tool to disable SELinux for Apache
Open a shell prompt type the command system-config-securitylevel
Next select SELinux tab > click on Disable SELinux protection for httpd daemon checkbox > Save the changes
Finally restart httpd service:
Leave a Reply
You must be logged in to post a comment.