How can I allow a mobile phone to access the WAP website server?
In fact, this only requires a mobile phone supporting WAP, a computer, and a gateway (hardware, which is generally provided by a telecommunications service provider). The Gateway can temporarily use China Telecom, so you only need a cell phone and a computer.
Assume that the Web server on your computer is IIS
Open IIS and configure the mime ing in the HTTP header,
IIS -- default website Property --> HTTP header --> mime ing --> document type --> New Type
. 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
Assume that the Web server on your computer is Apache
Conf/mime. types document in the Apache installation directory
Added:
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
Support for Java download: added to IIS
. Jad text/vnd. Sun. J2. app-Descriptor
. Jar application/Java-Archive
Support for SIS Document Download: added to IIS
. SIS application/vnd. Symbian. Install
In addition, you can set:
Download WAP Server
--------------------------------
. AMR audio/AMR
. Pmaudio/PMD
. 3GP video/3GPP
. Cab application/vnd. smartpohone
. GIF image/GIF
. HME application/vnd. Smartphone. THM
. Jad text/vnd. Sun. J2. 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
--------------------------------------------------------------------
Common WAP servers
. 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