[CentOS] Forbidden: can't access *.html files in /var/www/html
ben at adversary.org
Wed Sep 29 11:13:15 EDT 2010
On 30/09/10 12:43 AM, Alexander Farber wrote:
> I'm using the latest CentOS with phpBB 3.0.x + postgreSQL + sendmail
> (relayed through gmail.com) - all those programs working fine,
> with no big modifications of the CentOS defaults (i.e. SELinux is on).
> Does anybody know what is wrong, how to find out?
Yep, it's SELinux picking up that the files have been moved or copied to
that directory. Run this command:
restorecon -R /var/www/html
The pages should load after that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20100930/19e4b3b1/attachment.bin
More information about the CentOS