In fact, there is no difference between the wap site and the web site. We only need to add the content type (MIME) in iis/apache. Let's take a look at the example and the tutorial below.
Here, we use the most typical IIS server as an example:
To enable IIS to support publishing WAP (WML) pages, set the MIME attribute of WAP in the properties/HTTP information of the IIS Web site and add 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 make it support publishing WAP pages.
Graphic tutorial
The WAP (WML) site has been released.
If you are using Apache as the Web server, find the conf/httpd. conf configuration file and add the MIME type to it. Add the following lines to 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
Restart Apache Server to support publishing WAP pages.
In this way, your Server supports