How to make your web server support WAP data send?

xiaoxiao2021-03-06  44

How to make your web server support WAP data send?

1. The default web server is not supported by the WAP data. However, you only need to easily configure the MIME format corresponding to the server! The specific practice is as follows: A. IIS server setting mode: Open ( Start) -> (program) -> (Microsoft Internet Information Server) -> (Internet Service Administrator) Select Server in the open window, right click to select "Properties", Added MIME format: file type MIME · WML text / vnd.wap.wml · WMLC Application / VND.Wap.WMLC · WMLS text / vnd.wap.wmlscript · WMLSC Application / VND.Wap.Wmlscriptc · WBMP image / VND .Wap.wbmpb. PWS 4.0 1. Open the registry editor, newly build a primary key ".wml" under HKEY_CLASSES_ROOT; 2. Newly built a string under HKEY_CLASSES_ROOT.WML, name "Content Type", value "Text / VND.WAP.WML "; 3. HKEY_LOCAL_MACHINSOFTWARECLASSMIMIMEDATABASoftware Type" Text / VND.WAP.WML "4." Text / VND.WAP.WML "primary key Next, the name" extension ", value is ".Wml"; 5. Repeat the above 2, 3, 4 steps, establish other MIME type C. Linux Apache Using the administrator as an administrator, in the command line, enter "ps -ef" command Lan to see the current WWW Whether the service is normal, then use the VI to edit the "/etc/httpd/conf/srm.conf" file, add the following types at AddType: addtype text / vnd.wap.wml .wml addtype application / vnd.wap.wmlc .wmlc AddType text / vnd.wap.wmls .wmlscript addtype application / vnd.wap.wmlsc .wmlscriptc addtype Image Once /VND.WAP.WBMP .WBMP is saved, restart httpd. 2. If your blog is placed in the virtual host, please contact your host, whether you support WAP MIME format, some hosts are supported by default, such as host merchants (www.512j .com), some do not support, if not, this is going to see your negotiation.

转载请注明原文地址:https://www.9cbs.com/read-47594.html

New Post(0)