Re: Forbidden: can't access *.html files in /var/www/html

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



On 30/09/10 12:43 AM, Alexander Farber wrote:
> Hello,
> 
> 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).

[SNIP

> 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.


Regards,
Ben


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux