I was getting the following errors in my error log file:
mod_mime_magic: can't read `/var/ referer: (13)Permission denied: exec of '/var/ failed, referer: Premature end of script headers: testprogram, referer:
The problem is the security of SELinux is preventing mod_mime_magic access to the testprogram.
This happens when context of the program (in this case testprogram) does not match the directory.
To change to the appropriate context, use the UNIX command "chcon".
See the following website for more details:
Hope this helps.
mod_mime_magic: can't read `/var/ referer: (13)Permission denied: exec of '/var/ failed, referer: Premature end of script headers: testprogram, referer:
The problem is the security of SELinux is preventing mod_mime_magic access to the testprogram.
This happens when context of the program (in this case testprogram) does not match the directory.
To change to the appropriate context, use the UNIX command "chcon".
See the following website for more details:
Hope this helps.