Let Apache/iis server support WAP site method

Source: Internet
Author: User

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

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.