主要是添加MIME映射
WAP1.0配置
文件扩展名 | MIME类型 | 文件内容 |
---|---|---|
.wml | text/vnd.wap.wml | WML markup in plain-text form |
.wmlc | application/vnd.wap.wmlc | Compiled WML markup |
.wbmp | image/vnd.wap.wbmp | WBMP image |
.wmls | text/vnd.wap.wmlscript | WMLScript code in plain-text form |
.wmlsc | application/vnd.wap.wmlscriptc | Compiled WMLScript code |
WAP2.0配置
文件扩展名 | MIME类型 | 文件内容 |
---|---|---|
.xhtml or .html or .htm | application/vnd.wap.xhtml+xml or application/xhtml+xml or text/html | XHTML MP markup in plain-text form |
.css | text/css | WCSS (WAP CSS or Wireless CSS) code in plain-text form |