自由职业者 三十而不立
Aug
13
一、IIS服务器案例:
为了使IIS支持WAP(WML)页面的发布,在IIS的Web站点的属性 -> HTTP信息中设置WAP的MIME属性,添加如下的MIME类型:
扩展名 内容类型(MIME)
.wml text/vnd.wap.wml
.wbmp image/vnd.wap.wbmp
.wmlc application/vnd.wap.wmlc
.wmls text/vnd.wap.wmls
.wmlsc application/vnd.wap.wmlsc
重启 IIS 使其支持 WAP 页面的发布。
二、Apache服务器安例:
找到conf/httpd.conf这个配置文件,然后在里面添上MIME类型。
在httpd.conf中加入如下几行:
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmls .wmls
AddType application/vnd.wap.wmlsc .wmlsc
重启 Apache Server 使其支持 WAP 页面的发布。
这样通过以上的两种服务器环境方案配置你的WEB Server就支持 WAP(WML) 站点的发布了~~~
为了使IIS支持WAP(WML)页面的发布,在IIS的Web站点的属性 -> HTTP信息中设置WAP的MIME属性,添加如下的MIME类型:
扩展名 内容类型(MIME)
.wml text/vnd.wap.wml
.wbmp image/vnd.wap.wbmp
.wmlc application/vnd.wap.wmlc
.wmls text/vnd.wap.wmls
.wmlsc application/vnd.wap.wmlsc
重启 IIS 使其支持 WAP 页面的发布。
二、Apache服务器安例:
找到conf/httpd.conf这个配置文件,然后在里面添上MIME类型。
在httpd.conf中加入如下几行:
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmls .wmls
AddType application/vnd.wap.wmlsc .wmlsc
重启 Apache Server 使其支持 WAP 页面的发布。
这样通过以上的两种服务器环境方案配置你的WEB Server就支持 WAP(WML) 站点的发布了~~~



