반응형
CORS on IIS7
For Microsoft IIS7, merge this into the web.config file at the root of your application or site:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
If you don't have a web.config file already, or don't know what one is, just create a new file called web.config containing the snippet above
반응형
'Tip & Tech > Windows' 카테고리의 다른 글
IIS 응용프로그램 풀 재시작 커멘드 (0) | 2019.07.15 |
---|---|
iis 동접 확인 방법 (0) | 2019.07.15 |
CentOS Redmine(레드마인) 설치 (0) | 2019.07.15 |
MSSQL에서 SP 내용 알아내는 법 (0) | 2019.07.15 |
IIS FTP passive로 List가 되지 않을 때 (0) | 2019.07.15 |