Header set Access-Control-Allow-Origin "*" RewriteEngine On RewriteCond %{REQUEST_URI} !(\.png|\.jpg|\.webp|\.gif|\.jpeg|\.zip|\.css|\.svg|\.js|\.pdf)$ RewriteCond %{REQUEST_URI} !^/projects/jsml/ [NC] RewriteRule (.*) default.php [QSA,L]