Add the Access-Control-Allow-Origin equals to Http Origin

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 13 Dec 2012, 14:26

Add the Access-Control-Allow-Origin equals to Http Origin

13 Dec 2012, 14:33

Hi everyone!

I'm tryin' to add the header Access-Control-Allow-Origin equals Origin Request.

I wasn't sucessfull trying:

RewriteHeader Access-Control-Allow-Origin: .* %{HTTP_REFERER}

I want just add the header.

Also, I do'nt want to use HTTP_REFERER: I would like the Origin.

PS: the request Origin is http://local.puc-campinas.edu.br:1084

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Add the Access-Control-Allow-Origin equals to Http Origi

14 Dec 2012, 11:07

Please, provide rewrite.log and error.log for the testing request. So that we could see the processing order.

Regards
Andrew

User avatar
Posts: 27
Joined: 04 Dec 2012, 21:06

Re: Add the Access-Control-Allow-Origin equals to Http Origi

16 Dec 2012, 23:00

Where exactly can I get this information?

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Add the Access-Control-Allow-Origin equals to Http Origi

16 Dec 2012, 23:58

Logging issues are described in FAQ

User avatar
Posts: 4
Joined: 25 Jan 2013, 04:25

Re: Add the Access-Control-Allow-Origin equals to Http Origi

26 Sep 2014, 10:59

Any update on this issue?
What should be the correct syntax for adding custom HTTP response headers to a web resource?

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 8 guests