Q: How to open a WAP site, so that more friends through the mobile phone to browse my site?
A: Browsing WAP sites and Web sites are required server-side and terminal support, the requirements of the Web site are generally known, WAP site needs of the server as long as the Web server on the basis of a little configuration can be used, but the writing WAP site used in language different from the Web, The WML language is usually used with scripting such as ASP,
The default home page is also generally index.asp/index.wml/default.asp/default.wml and so on.
Windows2000 Server servers Configure the MIME type of IIS
Address:
Internet Services Manager Internet Service Manager--> host Properties--> computer (MIME map)--> edit--> new Type
content Type (MIME) Association extension TEXT/VND.WAP.WML WML
Image/vnd.wap.wbmp wbmp
TEXT/VND.WAP.WMLS wmls
APPLICATION/VND.WAP.WMLC WMLC
APPLICATION/VND.WAP.WMLSCRIPTC WMLSC
Text/vnd.wap.wmlscript WSC
Text/vnd.wap.wmlscript WMLScript
If your computer, the Web server is IIS
iis--Default Web Site Properties-->http Header-->mime map--> file 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
If your computer, the Web server is Apache
Conf/mime.types files under the Apache installation directory
Increase:
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 downloads: Need to add in IIS
. jad Text/vnd.sun.j2me.app-descriptor
. Jar Application/java-archive
Support for SIS file downloads: Need to add in IIS
. SIS Application/vnd.symbian.install
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.