En necesario que apache tenga activo el modulo de Headers, para especificar que metodos y que parametros se van a usar.
Header set Access-Control-Allow-Methods "GET, PUT, POST, OPTIONS, DELETE"
Header set Access-Control-Allow-Credentials "true"
Header set Access-Control-Allow-Headers "Authorization, Origin, Content-Type, X-CSRF-Token, page, Request-Date"
Header set Access-Control-Expose-Headers "totalItem"