Configuraton of Web Server Apache for Wapsite with WML And PHP
I have been long enough had desire to make website which can be accessed by using browser handphone or its clearer that is wapsite and finally finish also care of http://wap.teknisoft.net but not yet I have time to upload because host server run out of bandwith, possible next month newly can upload. Oh ya for you want to develop program wapsite by using Wireless Application Protocol ( WAP) and PHP, that is clear just easy to your webserver have to support for wapsite, as for if we like to the configuraton xself your webserver apache so that can support type of extensions program which can be used for wap, by giving parameter addition expressing support for WAP. the extensions program WAP Used for example is . wml, . wbmp, . wmls, or . php. Now, to start how to configuraton of webserver apache in order to can support WAP, that is by giving additional parameter at file httpd.conf , upon which practice now you can try configuraton of file of httpd.conf of your computer as for step is the following:
- ascertain you have setup webserver apache, can with php triad and or My AppServ klo is cosier use Appserv..
- Open file httpd.conf , if you install Appserv generally its file situation be at C:\Appserv\Apache2.2\Conf depended version Appserv which you install later, then enhance parameter hereunder and place at line after parameter Addtype which relate to php.
—————————————————
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
#Place parameters here
AddType application/x-httpd-php .wml
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbp .wbmp
AddType text/vnd.wap.wmlscript .wmlsc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap .wmlscriptc
AddType text/vnd.wap .wmlscript
AddType text/vnd.wap .wmlscript
————————————————— - Afterwards save of file httpd.conf later, then restart its apache.
- For testing you can use Emulator WAP such as Openwave Phone Simulator Or M3Gate please download first and install to your computer, then make one page wapsite by using Ianguage of programming WML and keep its file at root directory generally in default reside in location C:\Appserv\www.
Ok Try it. ![]()