Tech: Apache and SELinux

Good set of starter instructions on this page.

Perfect tutorial. Complete with setting up Virtual Hosts and SSL.

But an error occurs when the Apache service is restarted.

Getting:

Starting httpd: Warning: DocumentRoot [/www/iqtest/html] does not exist
[FAILED]

The error is the result of SELinux.
Disable it at

/etc/sysconfig/selinux

and reboot.
Or run the following command as root:

echo 0 >/selinux/enforce
This entry was posted in Tech. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>