AnsweredAssumed Answered

Another Multiple Domain CORS question

Question asked by Barry Gavenda on Oct 17, 2016
Latest reply on Oct 18, 2016 by Gunther Kochmann

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?