matt2kjones
08-23-2002, 04:41 PM
ok i got me a wap phone a few days ago, and tried to access my site with it, but keep getting unsuported file type : html/text
so im guessing by that error message that you have to write a site in a different language??
if so, what language is supported, and do you have any tutorials about it
also, is there anything on apache you have to set up to allow wap access
ok thanx allot
matt
WAP pages are written in another language. And, you have to add the mime-type to Apache. But, I can't remember anything else.
babak
08-23-2002, 05:52 PM
hi
voor wap support:
Edit /etc/httpd/conf/mime.types
Add these lines:
application/vnd.wap.wmlc wmlc
application/vnd.wap.wmlsc wmlsc
image/vnd.wap/wbmp wbmp
text/vnd.wap.wml wml
text/vnd.wap.wmlscript wmls
for testing, upload this file and call him something.wml
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.blabla.org/DTD/wml_1.1.xml">
<!-- created by EasyPad WAPtor (http://www.blabla.net/) -->
<wml>
<card id="MainCard" title="blablabla">
<p>blablabla</p><p>Your Provider!!!</p>
</card>
</wml>
now go with your wap-phone to www.yourdomain.com/something.wml
regards,
Babak
Ahmad
08-23-2002, 05:54 PM
WAP pages are written in the wml language. Your server must return the text/wml mime type for them.
http://www.allnetdevices.com/faq/ has a comprehensive FAQ about this.
edit: more specific URL.
combs
08-24-2002, 12:12 PM
WAP supports WML and also you will have to set the mime type to support WML for using WAP. It is different from HTML.
bitserve
08-24-2002, 02:00 PM
A lot of phones still use hdml too.
http://www.webhostingtalk.com/showthread.php?threadid=35862
You might just go to openwave (http://www.openwave.com)'s web site.