I want to allow web access to files without allowing other system users access to the files for the website.
I have owner:group as
Then I did:
usermod -a -G bob httpd
To add http to the user group.
File permissions on root folder are:
But I cannot access the site from the internet anymore. The web server should be able to access the folder with the above permissions.
If I add o+x permission, it works immediately.
error log says:
[Tue May 01 17:25:20 2012] [crit] [client xxx.xx.xxx.xx] (13)Permission denied: /var/www/bob/.htaccess pcfg_openfile: unable to check htaccess file, ensure it i s readable
Any help would be greatly appreciated.