Open main menu

CDOT Wiki β

Changes

no edit summary
[[OPS235 Assignment 2]] can be tricky with SELinux enabled. Here are some tips to get you through...
== SELinux Tips ===== MediaWiki and SELinux ===
* Switch SELinux to permissive mode during MediaWiki configuration: <code>setenforce 0</code>
* Switch SELinux to enforcing mode after MediaWiki configuration: <code>setenforce 1</code>
=== diskfree.cgi Script ===
* The permissions on the file <code>/var/log/httpd/suexec.log</code> and the directory <code>/var/log/httpd</code> may need to be adjusted:
* Use a SELinux file context of <code>httpd_user_script_exec_t</code> on your script
* Permanently enable the SELinux boolean <code>httpd_enable_homedirs</code>
 
== General Tips ==
 
* If Apache is not doing what you expect, look in the log files in <code>/var/log/httpd</code>
* Check your clock. If you clock is off, the error message times listed in /var/log/httpd may be wrong too.