SetEnvIf Origin ^(https?://(?:.+\.)?aonesalons\.com(?::\d{1,5})?)$ CORS_ALLOW_ORIGIN=$1
Header append Access-Control-Allow-Origin %{CORS_ALLOW_ORIGIN}e env=CORS_ALLOW_ORIGIN
The 'Access-Control-Allow-Origin' header contains multiple values '*, https://demo.aonesalons.com', but only one is allowed
Ref:
https://stackoverflow.com/questions/48766156/the-access-control-allow-origin-header-with-apache/49026668
Article ID: 56
Created On: Mon, Oct 19, 2020 at 3:03 PM
Last Updated On: Mon, Oct 19, 2020 at 3:03 PM
Authored by: Saeed Nobakht [[email protected]]
Online URL: https://www.navel.ir/article/the-access-control-allow-origin-header-with-giant-apache-56.html