Re: Setting up apache problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/04/2009 01:40 AM, Richard Fearn wrote:
> 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
> 

The error httpd throws in this kind of case (SELinux) is 403 Forbidden,
not 404 not found or does not exist.

I know because I've had to deal with it a lot.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkn+gAQACgkQaVgOCFr0s2JzaACeOJAX0Hi+PnmG9KkGFxbAGcS2
83IAnRAacXUuE1V0/g2q50NeGTRPdFjY
=0M3h
-----END PGP SIGNATURE-----

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux