Cors
(Created page with "To enable coors on IIS - all sites on the machine: Open the '''Machine'''. '''config''' The '''Machine'''.'''config''' file is '''located''' in the %SystemRoot%\Microso...")
 
No edit summary
Line 6: Line 6:


Add this in configuration
Add this in configuration
<pre><?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><cors enabled="true" failUnlistedOrigins="true"><add origin="*" /></cors></system.webServer></configuration></pre>

Revision as of 14:18, 11 September 2020

To enable coors on IIS - all sites on the machine:

Open the Machineconfig

The Machine.config file is located in the %SystemRoot%\Microsoft.NET\Framework\%VersionNumber%\CONFIG\directory

Add this in configuration

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><cors enabled="true" failUnlistedOrigins="true"><add origin="*" /></cors></system.webServer></configuration>
This page was edited 41 days ago on 03/26/2024. What links here