아파치 설정 파일 httpd.conf에서 VirtualHost 영역에 다음을 추가함.
AddType application/manifest .manifest
AddType application/xaml+xml .xaml
AddType application/x-ms-application .application
AddType application/x-ms-xbap .xbap
AddType application/octet-stream .deploy
* IIS 사용하는 경우
Adjust the Content Expiration Setting
You should adjust the content expiration setting to 1 minute. The following procedure outlines how to do this with IIS.
-
Click the Start menu, point to Administrative Tools, and click Internet Information Services (IIS) Manager. You can also launch this application from the command line with "%SystemRoot%\system32\inetsrv\iis.msc".
-
Expand the IIS tree until you find the Default Web site node.
-
Right-click Default Web site and select Properties from the context menu.
-
Select the HTTP Headers tab and click "Enable Content Expiration".
-
Set the content to expire after 1 minute.
Register MIME Types and File Extensions
You must register several MIME types and file extensions so that the browser on the client's system can load the correct handler. You need to add the following types:
Extension | MIME Type |
---|---|
.manifest |
application/manifest |
.xaml |
application/xaml+xml |
.application |
application/x-ms-application |
.xbap |
application/x-ms-xbap |
.deploy |
application/octet-stream |
.xps |
application/vnd.ms-xpsdocument |