getting a 403 error
Constantly getting a 403 error.
You don't have permission to access /index.html on this server.
log file :
(13)Permission denied: access to /index.html denied
(13)Permission denied: access to /favicon.ico denied
directory permissions (/home/www/eric/cascade)
-rwxr-xr-x 1 eric www 193 Jan 28 17:38 .htaccess
drwxr-xr-x 2 eric www 4096 Jan 28 18:27 images
-rwxr-xr-x 1 eric www 3715 Jan 28 18:27 index.html
-rwxr-xr-x 1 eric www 753 Jan 28 17:38 index.php
drwxr-xr-x 2 eric www 4096 Jan 28 18:25 js
-rwxr-xr-x 1 eric www 2258 Jan 28 18:27 oops.html
Configuration file:
<VirtualHost 50.57.104.245:80>
ServerName dev.cascaderisermanagement.com
DocumentRoot /home/eric/cascade/public
<Directory "/home/eric/cascade/public">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from ALL
</Directory>
</VirtualHost>
Is it possible that apache cant access www group ?? How do I check / verify ??
Some leads to try following:
Regarding file permissions, the permissions of every parent directory matter too. They must all have execute permission (meaning "search" for directories).
ls -l / /home /home/eric /home/eric/cascade
To check easily, you could su to the user apache is running as and try catting the file, e.g,
sudo -u nobody cat /home/eric/cascade/public/index.html
And the group doesn't matter if the world permissions are more inclusive anyway.
Also, what's in that .htaccess
file? I noticed you enabled them with AllowOverride
and there's one in that directory.