ServerAdmin webmaster@localhost
ServerName domainname.tld
Options FollowSymLinks
#AllowOverride None
AllowOverride All
Options Indexes FollowSymLinks MultiViews
#AllowOverride None
AllowOverride All
Order allow,deny
allow from all
ErrorLog /var/log/httpd/domainname-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/httpd/roomservice-access.log combined
Однако если поместить в /home/domainname index.html, то при попытке открыть страницу получаем 403 PermissionDenied, в error log:
[Mon Sep 26 02:34:00 2011] [error] [client 95.26.196.128] (13)Permission denied: access to /index.php denied
Проблема кроется в Selinux.
Посмотреть статус selinux можно так:
getenforce
Отключить временно:
sudo setenforce Permissive
Отключить постоянно- отредактировать файл /etc/sysconfig/selinux
ps убил битый рабочий день на эту гадость.