配置IIS服務(wù)器,支持sis、SISX、3GP、APK,CAB、flv等文件下載
配置IIS服務(wù)器,支持sis、SISX、3GP、ADP、AMR、JAD、JAR、MMF、MFM、PMD、UMD等文件下載
問(wèn):如何開通WAP網(wǎng)站呢,讓更多朋友通過(guò)手機(jī)來(lái)瀏覽的我網(wǎng)站呢?
答:瀏覽WAP網(wǎng)站與WEB網(wǎng)站都是需要服務(wù)器端和終端支持的,WEB網(wǎng)站的要求大家一般都知道了,
WAP網(wǎng)站需要的服務(wù)器只要在WEB服務(wù)器的基礎(chǔ)上稍加配置就可以使用,但是編寫WAP網(wǎng)站所使用
的語(yǔ)言不同于WEB,通常使用WML語(yǔ)言配合ASP等腳本編寫,
默認(rèn)首頁(yè)也一般為Index.asp/Index.wml/Default.asp/Default.wml等。
Windows2000 Server服務(wù)器配置IIS的MIME類型
地址:
Internet 服務(wù)管理器Internet 服務(wù)管理器-->主機(jī)屬性-->計(jì)算機(jī)(MIME映射)-->編輯-->新類型
內(nèi)容類型(MIME) 關(guān)聯(lián)擴(kuò)展名
text/vnd.wap.wml wml
image/vnd.wap.wbmp wbmp
text/vnd.wap.wmls wmls
application/vnd.wap.wmlc wmlc
application/vnd.wap.wmlscriptc wmlsc
text/vnd.wap.wmlscript wsc
text/vnd.wap.wmlscript wmlscript
如果你的電腦,WEB服務(wù)器是IIS
IIS--默認(rèn)網(wǎng)站屬性-->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服務(wù)器是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
.SISX同上
擴(kuò)展名為.apk,MIME為application/vnd.android.package-archive
另外你還可以這樣設(shè):
下載型WAP服務(wù)器
--------------------------------
.mmf audio/mmf
.mfm audio/mfm
.pmd audio/pmd
.adp audio/adp
.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服務(wù)器
.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
另外你還可以這樣設(shè):
下載型WAP服務(wù)器
--------------------------------
.mmf audio/mmf
.mfm audio/mfm
.pmd audio/pmd
.adp audio/adp
.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服務(wù)器
.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
另外,
FLV播放技術(shù)已經(jīng)是一種成熟技術(shù),它可以快速的架起視頻服務(wù)器,在WINDOWS環(huán)境服務(wù)器下,默認(rèn)是不支持FLV格式的,您需要對(duì)IIS做以下操作:
1. 在web服務(wù)器上,找開IIS管理器。
2. 展開本地服務(wù)器名稱,右擊選擇屬性,在Internet信息服務(wù)標(biāo)簽上點(diǎn)擊最下方的計(jì)算機(jī)MIME映射下面的編輯按鈕。
3. 點(diǎn)擊”新類型”按鈕,擴(kuò)展名添上”.FLV”,內(nèi)容類型(MIME)添上"video/x-flv"
4. 點(diǎn)擊確定
關(guān)鍵詞:IIS服務(wù)器
閱讀本文后您有什么感想? 已有 人給出評(píng)價(jià)!
- 0
- 0
- 0
- 0
- 0
- 0