Enable apache/iis servers to support wap sites

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.