Original Post
Error: SEC7120: Origin not found in Access-Control-Allow-Origin header
Environment:
IIS-7
PHP
In our one of client site we are facing above issue. To encounter above issue we modify our web config file as mentioned below.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
Download Web.config
Original Post
Error: SEC7120: Origin not found in Access-Control-Allow-Origin header
Environment:
IIS-7
PHP
In our one of client site we are facing above issue. To encounter above issue we modify our web config file as mentioned below.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
Download Web.config
Original Post
No comments:
Post a Comment