tweak rsync to empty remote, modify perms on 404 page