Configuring web server MIME types
To publish your wml decks, you need to have a web server having the proper MIME types configured. Microsoft's Internet Information Services (IIS) and Apache
are two of the most popular Web servers. Procedures to configure MIME types on these two
servers are different. For more details how to set up WAP MIME types you can
read your web server user manual.
Configure MIME types in Microsoft IIS
- In the Start menu, go to Programs>Administrative Tools>Internet Services Manager.
- Select your Web server and right click on the icon, select Properties.
- Click on the Computer MIME map tab and click Edit.
- In the File Type window, click New Type.
- Enter the associated file extensions and content types:
| Associated file extension |
MIME content type |
| .wml |
text/vnd.wap.wml |
| .wmls |
text/vnd.wap.wmlscript |
| .wbmp |
image/vnd.wap.wbmp |
Configure MIME types in Apache
- Create a text file called .htaccess in the top level HTML directory or
edit if exists
- insert the following text:
addtype text/vnd.wap.wml wml
addtype text/vnd.wap.wmlscript wmls
addtype image/vnd.wap.wbmp wbmp
- Save the file in the top level HTML directory of your server, restart
Apache.