Here, we first use the most typical IIS server as an example:
To enable IIS to support the publication of a WAP (WML) page, set the MIME property of WAP in the properties/HTTP information of the IIS Web site, adding the following MIME type:
Extension content Type (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
Restart IIS to enable it to support the publication of WAP pages.
Read a picture and text tutorial
The release of a WAP (WML) site.
If you're using Apache as a Web server, find the conf/httpd.conf configuration file and add MIME types to it. Add the following lines to the 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
Reboot the Apache Server to support the release of the WAP page.
In this way, your server will support