remount with acl enabled:
mount -o remount,acl /
/etc/fstab:
LABEL=/ / ext3 defaults,acl 1 1
Set permissions recursively
To assign permissions to all files and directories in a given directory, use the -R parameter. Since r, the read access rights are needed to read a file, while you will need rx, the read and execute rights to read a directory, you should probably specify X instead of x when setting permissions. The X flag assigns permissions only to those files and directories that already have the execute access right. The X flag is calculated on the moment when setfacl is launched, that is why it is interpreted as x in the default rules.
setfacl -Rm group:appgroup:rwX /var/www
Set default user for a folder:
setfacl -d -m user:apache:rwx wwwdir