Configuring Web Server to Serve WMLCorrect MIME extensions must be added to your webserver in order to configure it to server WML content
Content
| MIME Type
| File Extension
| WML Source
| text/vnd.wap.wml
| .wml
| Compiled WML
| application/vnd.wap.wmlc
| .wmlc
| WMLScript source
| text/vnd.wap.wmlscript
| .wmls
| Compiled WMLScript
| application/vnd.wap.wmlscriptc
| .wmlsc
| Wireless Bitmap
| image/vnd.wap.wbmp
| .wbmp
|
For Apache Server
Edit the srm.conf file and find the AddType Section and add the following mime types to it
AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .wmlc AddType image/vnd.wap.wbmp .wbmp AddType application/vnd.wap.wmlscriptc .wmlsc AddType application/vnd.wap.wmlc .wmlc |