Knowledgebase: Linux Hosting
Can I host WAP pages on my Unix account?
Posted by - NA - on 13 January 2011 09:41 PM
To serve WAP pages from your domain ...

1. Make a new folder /wap for your wap pages
2. Set the extension of your wap deck to .wml (WAP Markup Language)
3. Upload the deck in ASCII format
4. Create a file called .htaccess [Note the DOT!] with the following content :

AddType text/vnd.wap.wml wml
AddType text/vnd.wap.wxml wxml
AddType image/vnd.wap.wbmp wbmp
AddType applicationtext/vnd.wap.wmlc wml
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlscriptc wmlsc
AddType application/vnd.wap.wbxml wbxml
AddType application/vnd.wap.sic sic
AddType application/vnd.wap.slc slc
DirectoryIndex index.wml

Your wap site should now display accordingly in wap enabled devices!
(251 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name: