Tech: Apache and SELinux

November 4, 2009 on 3:17 pm | In Tech | No Comments

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

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Entries and comments feeds. Valid XHTML and CSS. ^Top^
29 queries. 0.670 seconds.
Powered by WordPress with jd-nebula theme design by John Doe.