[CentOS] Best configuration for /var/www/html/
Daniel J Walsh
dwalsh at redhat.com
Tue Apr 12 13:37:47 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/11/2011 05:50 PM, Todd Cary wrote:
> For a long period of time, my Apache root directory has been
> /home/httpd. For security reasons, this is not so good as
> SELinux has informed me. Now all of the files have been copied
> to /var/www/etc with owner and group "root". The privileges are
> 754 (rwxr-xr--), however apache does not have access to them.
> Should the owner be apache? Group?
>
> Todd
>
Did you run restorecon -R -v /var/www
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk2kVasACgkQrlYvE4MpobNoywCffYWPhXp/NgK7hRWmr4A4BjGA
JHoAnAj+9YJGtiGg9pDLkgT9Ea50d3Gz
=Ls7a
-----END PGP SIGNATURE-----
More information about the CentOS
mailing list