Add the Access-Control-Allow-Origin equals to Http Origin
5 posts
• Page 1 of 1
- marcoslimagon
-
- Posts: 1
- Joined: 13 Dec 2012, 14:26
Add the Access-Control-Allow-Origin equals to Http Origin
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
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
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Add the Access-Control-Allow-Origin equals to Http Origi
Please, provide rewrite.log and error.log for the testing request. So that we could see the processing order.
Regards
Andrew
Regards
Andrew
- suntattood
-
- Posts: 27
- Joined: 04 Dec 2012, 21:06
Re: Add the Access-Control-Allow-Origin equals to Http Origi
Where exactly can I get this information?
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Add the Access-Control-Allow-Origin equals to Http Origi
Logging issues are described in FAQ
- Kurisotofa
-
- Posts: 4
- Joined: 25 Jan 2013, 04:25
Re: Add the Access-Control-Allow-Origin equals to Http Origi
Any update on this issue?
What should be the correct syntax for adding custom HTTP response headers to a web resource?
What should be the correct syntax for adding custom HTTP response headers to a web resource?
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests