SetEnvIf Origin "^(https?://localhost|https://[a-z]+\.my\.base\.domain)$" ORIGIN_SUB_DOMAIN=$1
Header set Access-Control-Allow-Origin: "%{ORIGIN_SUB_DOMAIN}e" env=ORIGIN_SUB_DOMAIN
Ref:
https://stackoverflow.com/questions/22343384/the-access-control-allow-origin-header-contains-multiple-values
Article ID: 55
Created On: Mon, Oct 19, 2020 at 3:02 PM
Last Updated On: Mon, Oct 19, 2020 at 3:02 PM
Authored by: Saeed Nobakht [[email protected]]
Online URL: https://www.navel.ir/article/the-access-control-allow-origin-header-contains-multiple-values-55.html