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.