httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sailaja Gadireddy <>
Subject [users@httpd] Need help on CORS ( Cross Origin Resource Sharing ) Issue
Date Tue, 01 Aug 2017 09:42:39 GMT
Hello Team,

I need help on the CORS issue and what needs to be configured for the below

User receive CORS error when calling IGC with AJAX Javascript call from the

"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
remote resource at
*(Reason: CORS preflight channel did not succeed)*."

Below is the configuration from the config file:
<Location "/">
SetEnvIf Origin ".+" origin_is=$0

	        Header set Allow GET,HEAD,POST,OPTIONS,TRACE
		Header set Access-Control-Allow-Origin %{origin_is}e env=origin_is
		Header set Access-Control-Allow-Credentials true
	        Header set Access-Control-Allow-Headers "X-Requested-With,
Content-Type, Accept, Authorization, Client-Security-Token,
		Header set Access-Control-Expose-Headers "X-Requested-With,
Content-Type, Accept, Authorization, Client-Security-Token,
		Header set Access-Control-Allow-Methods "POST, GET, OPTIONS"
		Header set Access-Control-Max-Age: 60
                Header unset X-Frame-Options


Could you please help on this.

Thanks & Regards,


View raw message