For various reasons, dont' want to do this at the origin.
I would LIKE to white list some domain for access control allow origin w/o using a *. !st, there would be a match where the rererrer woud be one of hundreds of domains.
Basically, i want to assign current request's referring domain to the ACAO header. Referrer itself contains the full path including url, so thats a problem when i assign the referrer header to a variable and then ACAO to that variable. Doesn't work.
Any idea how i can achieve this?