Build a WAP Server under Fedora8

Source: Internet
Author: User
Suddenly I want to set up a WAP Server to play. I checked "World Wide Web Service" when installing Fedora8Linux. That is to say, httpd and apache in my Fedora8 use the default installation of Fedora. if you want apache to support wml (Note: wml is the default supported text for WAP), you must perform additional settings on apache. it seems that this sentence is nonsense. to the/etc/httpd/conf/directory

Suddenly I want to set up a WAP Server to play. in my Fedora 8 Linux installation, the "World Wide Web Service" is selected. That is to say, httpd and apache in my Fedora 8 use the default installation of the Fedora system.

If you want apache to support wml (Note: wml is the default supported text for WAP), you must set apache. It seems like this is nonsense.

Go to the/etc/httpd/conf/directory and use the root permission to modify the httpd. conf file.

Add the following content under the AddType application/x-gzip. gz. tgz line in the httpd. conf file:

# Wap MIME

AddType text/vnd. wap. wml. Wml

AddType application/vnd. wap. wmlc. Wmlc

AddType image/vnd. wap. wbmp. Wbmp

AddType application/vnd. wap. wmlscriptc. wmlsc

AddType text/vnd. wap. wmlscript. Wmls

AddType application/vnd. wap/wmlscriptc. Wsc

Add index. wml after DirectoryIndex index.html

Restart the httpd service. Now, my Fedora 8 Linux has become a WAP Server.

My problems:

I put a compiled index under the/var/www/html/directory. wml files, when using online WAP browsers to access my public IP address, Chinese characters on my WAP webpage are garbled and the English display is normal (the last half is nonsense ). I thought it was because the default language set by apache does not support Chinese characters. Then I checked httpd. conf file found that the default language of apache settings encoding for UTF-8, it seems that not apache problem. unfortunately, my mobile phone has not activated the GPRS Service, so I cannot use my mobile phone to log on to my own WAP website to verify this problem.

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.