<IfModule mod_authz_core.c>
    Require all granted
</IfModule>

DirectoryIndex index.php

<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    Header set Access-Control-Allow-Methods "GET,POST,OPTIONS"
    Header set Access-Control-Allow-Headers "Content-Type, Authorization"
</IfModule>