Howto enable WAP in your apache

waplogo
This is some information to share, on how to enable WAP on your apache web server. WAP will just works with your ordinary apache web server, it just need some additional code to be inserted into the configuration file.

Add the following code into your httpd.conf file, between <IfModule mod_mime.c> and </IfModule> tag.
AddType text/vnd.wap.wml .wml .wml
AddType Application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.vmlscript .wmls
AddType Application/vnd.wap.wmlscriptc .vmlsc
AddType image/vnd.wap.wbmp .wbmp

You also have to locate “DirectoryIndex” in the config file, and add index.wml. This is to make apache will read index.wml inside a folder, so that you can access it easily like http://wap.farhanfaisal.com, where it will immediatey read index.wml inside wap.farhanfaisal.com

Thats all, hope in future we will have more something in common to share, WAP site! 🙂

Wassalam

Enable WAP in apache – mrEriksson-Network

Appearing in 642-436 is not an issue for a 70-293 professional, whether he has done 350-018 and 70-647 or not.

One thought on “Howto enable WAP in your apache

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.