I'm running Fedora 23 with Apache 2.4 and PHP 5.6.27. Both Apache and PHP are installed from the standard Fedora repo.
My problem is that despite setting
Require all granted in my site's virtual host configuration I still get the following error when attempting to browse my web site (and a
403 Forbidden in my browser):
AH01630: client denied by server configuration: /home/kevin/appsdev/mywebapp/phpinfo.php
This is my virtual host configuration:
<VirtualHost 172.16.3.52:80> ServerName localdev.mywebapp.net DocumentRoot /home/kevin/appsdev/mywebapp <Directory /home/kevin/appsdev/mywebapp> AllowOverride All Require all granted </Directory> </VirtualHost>
The above configuration is tacked onto the end of the out-of-the-box
httpd.conf config file that shipped with Apache.
Apache is running as the
I've also set the ownership for
chown -R apache:apache /home/kevin/appsdev/mywebapp
and my permissions as:
chmod -R 755 /home/kevin/appsdev/mywebapp
I even tried (rather naughtily) changing:
<Directory /> AllowOverride none Require all granted ## default is: Require all denied </Directory>
I also disabled selinux.
There are no
.htaccess files in the web site.
I've restarted apache but I still get the
AH01630: client denied by server configuration.. error and a
403 Forbidden in my browser.
httpd -t tells me
Syntax OK, so nothing bad there.
What am I doing wrong, I'm a bit stumped?