Windows Server 2003 + IIS 6.0(同樣適用 Win2000 + IIS 5.0)。
IIS管理器 → 網站屬性 → HTTP頭 → MIME類型 → 新增:
| 擴展名 | MIME類型 |
|---|---|
| .wml | text/vnd.wap.wml |
| .wbmp | image/vnd.wap.wbmp |
| .wmlc | application/vnd.wap.wmlc |
| .wmls | text/vnd.wap.wmlscript |
| .wmlsc | application/vnd.wap.wmlscriptc |
IE直接訪問 .wml 會提示下載,需安裝 WAP 瀏覽器。推薦 M3Gate:
下載 https://www.gmcc.net/wap/m3stp06.zip 安裝後,IE 訪問 WAP 站點會自動啟動 M3Gate 渲染。
wap.sina.com.cn 首頁另存為 index.wml。test 指向存放目錄。https://localhost/test/index.wml → 自動啟動 M3Gate 顯示 WAP 頁面。