Apache SElinux

por | 18 Febrero, 2008

ls -t
ls -Z

Text Syntax Virtual Host Options:

httpd -t

httpd -S

httpd: Could not reliably determine the server’s fully qualified domain name, using 192.168.1.5 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443          192.168.1.5 (/etc/httpd/conf.d/ssl.conf:81)
Syntax OK

Configure SElinux Contexts : Use same context as /var/www/html

sudo chcon -R –reference=/var/www/html/ public_html/