Setting up apache problem

Richard Fearn richardfearn at gmail.com
Sun May 3 17:40:39 UTC 2009


Hello,

> I've just about everything set up correctly, but when I restart httpd, I
> keep getting the error that DocumentRoot /var/www/html/willowherbdesigns
> doesn't exist, despite it being there (it's a symlink
> to /web/willowherbdesigns).

Probably because the content under /web doesn't have the right SELinux
context; it should be system_u:object_r:httpd_sys_content_t:s0.

You can check the context with ls -lZ, and if it's wrong, relabel using

  chcon system_u:object_r:httpd_sys_content_t:s0 /web/willowherbdesigns

Regards,

Rich




More information about the fedora-devel-list mailing list