惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
小众软件
小众软件
GbyAI
GbyAI
B
Blog RSS Feed
月光博客
月光博客
A
About on SuperTechFans
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
U
Unit 42
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
博客园_首页
G
Google Developers Blog

博客园 - popcode

读取客户端收藏夹资料的问题 .net2.0 web site中的cs文件怎么编译为dll jsp与javascript delphi中的DBGrid无法刷新数据 Crystal Report的奇怪问题 ms的题目,无聊不妨看看 查询datatime类型 由传奇木马引起的遐想 com组件的调用 团队开发中使用什么开发工具 关于博客园Post的性质 [转]项目失败的经验 项目测试有感 安全警告 - MS04-009 CSDN专家分意义何存 道歉 什么是Blog 把Excel文件中的数据读入到DataGrid中 节日快乐
Microsoft IIS6.0实现WAP应用
popcode · 2004-03-07 · via 博客园 - popcode

原文连接:http://blogger.cn/ceocio/posts/14890.aspx

本文介绍如何使Windows2003+IIS6.0版本支持WAP应用,该信息同样适用于Windows2000+IIS5.0。

首先,打开IIS为其设置新的MIME类型,在网站属性的HTTP头选项中设置。(如图:)
添加WAP所需的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

       确定后你的IIS已经可以支持WAP,但是当我们在浏览器输入WAP页地址访问的时候却提示将WML文件下载,这时你必须安装WAP浏览器才行,我用的是M3Gate,可以在http://www.gmcc.net/wap/m3stp06.zip下载到。
       安装后再次用IE访问你建立的WAP站点目录,就会自动启动M3Gate,并且显示到默认页面,比如是index.wml。
       为了便于描述,我直接将wap.sina.com.cn的首页下载下来保存为index.wml,并且在默认网站中建立了一个名为test的虚拟目录指向其,通过http://localhost/test/index.wml访问的效果如下:

      OK,现在你也可以象那些大网站一样提供WAP站点服务了。