zoukankan      html  css  js  c++  java
  • IIS WAP服务器的MIME类型设置

    如何让手机访问WAP网站服务器?

        这其实只需要一部支持wap的手机,一台电脑,一个网关(是硬件,一般由电信服务商提供)就可以了,网关可以临时用电信的,所以你只需要有手机和电脑就可以了。

        如果你的电脑,WEB服务器是IIS
     
    IIS--默认网站属性-->http 头-->MIME映射 -->文件类型 -->新类型
    .wml text/vnd.wap.wml 
    .wmlc application/vnd.wap.wmlc 
    .wmls text/vnd.wap.wmlscript 
    .wmlsc application/vnd.wap.wmlscriptc 
    .wbmp image/vnd.wap.wbmp 

        如果你的电脑,WEB服务器是Apache

    Apache安装目录下的conf/mime.types文件
    增加:
    text/vnd.wap.wml .wml
    image/vnd.wap.wbmp .wbmp
    application/vnd.wap.wmlc .wmlc
    text/vnd.wap.wmls .wmls
    application/vnd.wap.wmlsc .wmlsc


    支持java下载:在iis中需要添加
    .jad text/vnd.sun.j2me.app-descriptor
    .jar application/java-archive

    支持sis文件下载:在iis中需要添加
    .sis application/vnd.symbian.install

    另外你还可以这样设:

    下载型WAP服务器
    --------------------------------
    .amr audio/amr
    .pmdaudio/pmd
    .3gp video/3gpp
    .cab application/vnd.smartpohone
    .gif image/gif
    .hme application/vnd.smartphone.thm
    .jad text/vnd.sun.j2me.app-descriptor
    .jar application/java-archive
    .jpg image/jpeg
    .mid audio/midi
    .mp3 audio/x-mpeg
    .mp4 video/mp4
    .ogg application/ogg
    .pdb application/ebook
    .rm video/rm
    .rng application/vnd.nokia.ringing-tone
    .sdt application/vnd.sie.thm
    .sis application/vnd.symbian.install
    .thm application/vnd.eri.thm
    .tsk application/vnd.ppc.thm
    .umd application/umd
    .utz application/vnd.uiq.thm
    .wav audio/x-wav
    .wbmp image/vnd.wap.wbmp
    .wml text/vnd.wap.wml
    .wmlc application/vnd.wap.wmlc
    .wmls text/vnd.wap.wmlscript
    .wmlsc application/vnd.wap.wmlscriptc
    .wmv video/x-ms-wmv
    .wsc application/vnd.wap/wmlscriptc

    --------------------------------------------------------------------
    一般WAP服务器
    .wbmp image/vnd.wap.wbmp
    .wml text/vnd.wap.wml
    .wmlc application/vnd.wap.wmlc
    .wmls text/vnd.wap.wmlscript
    .wmlsc application/vnd.wap.wmlscriptc
    .wmv video/x-ms-wmv
    .wsc application/vnd.wap/wmlscriptc
    .gif image/gif
    .jpg image/jpeg
    .bmp image/bmp

  • 相关阅读:
    harbor私有仓库搭建
    为普通用户添加sudo权限
    进程节点占用磁盘空间
    influxdb做prometheus永久存储
    prometheus监控linux进程
    Redis一主两从搭建
    ELK搭建
    redis geo操作
    k8s 1.16.3 yaml声明变化
    k8s启动Pod遇到CrashLoopBackOff的解决方法
  • 原文地址:https://www.cnblogs.com/lumnm/p/1530796.html
Copyright © 2011-2022 走看看