4620 IP Telephone
WML Server Setup Guide
Issue 1.8
June 2003
-2-
1. INTRODUCTION
This document discusses how to set Wireless Application Protocol (WAP) Multipurpose Internet Mail
Extensions (MIME) types for Microsoft IIS and for Apache so that a customer's server has the
capability to handle Wireless Markup Language (WML) pages. MIME specifies data content type.
Servers insert the MIME header at the beginning of a Web transmission. Although this document only
provides information on IIS and Apache web servers, WML pages can be served on almost every web
server. Contact you server provider for additional information on how to configure your server for
WML.
2. SERVER SETUP
Sections 2.1 and 2.2 provide step-by-step instructions for WML set up on IIS and Apache web servers,
respectively.
2.1 CONFIGURING MICROSOFT INTERNET INFORMATION SERVICES (IIS)
Microsoft Internet Information Server (IIS) is a free Web server that can be acquired with the following
operating systems to serve WML pages:
• Microsoft Windows NT 4 – IIS version 4.0 comes in the NT 4.0 option pack.
• Microsoft Windows 2000/server – IIS 5.0 is built in to Windows 2000.
• Microsoft Windows XP – IIS 5.0 is built in to Windows XP.
IIS has a graphical user interface, the Internet Service Manager, for configuring all aspects of the Web
server.
The following step-by-step guide can be used to set up MIME types:
1. Start the Microsoft Management Console (Start => Run =>MMC) and load the IIS snap-in from
the c:\winnt\system32\inetsrv\iis directory.
The Internet Services Manager can also be opened from Start => Control Panel =>
Administrative Tools => Internet Services Manager.
2. Right click on the node that matches the name of your web server (by default: ‘Default Web
Site’) and choose the Properties option.
3. Click on the edit button next to the master properties drop down box.
4. Select the HTTP Headers tab, and click on the file type button. This will load the registered file
types dialog.
5. Click on the new type button and create a new file type using the below parameters (Refer to
figure 1 below). Repeat the procedure for each associated extension:
1. File Type 1:
• Associated extension: wml
• Content type: text/vnd.wap.wml
2. File Type 2:
• Associated extension: wbmp
• Content type: image/vnd.wap.wbmp
6. Click OK to close all of the open dialogs, and then close MMC or Internet Services Manager
itself.
7. Restart ‘IIS Admin Service’ from the ‘Services’. (Click Start program, Administrative Tools,
and click on the Services application) so that the newly added MIME types are picked up.
-3-
Figure 1: IIS Setup
2.2 CONFIGURING APACHE WEB-SERVER
Apache is an open-source Web server that’s available on many platforms, including Linux and
Windows. Basic familiarity with UNIX is necessary to configure it.
Apache may be downloaded from the following link: http://www.apache.org/dist/httpd/binaries/.
Please download the apache server file appropriate to your operating system. NOTE: Release
2.0.39 is the latest stable release. Please download this release. Older releases of Apache
would also work as the WML server.
The following is a step-by-step guide for configuring Apache Web-server:
1. To set MIME types in Apache, a plain text file called httpd.conf is used. The location for this
file varies depending on the individual setup, but the most usual path is
/etc/httpd/conf/httpd.conf – this is the default location if Linux is installed via the RPM method.
If the operating system is Windows, then look for a folder called conf under where Apache is
installed.
2. Open httpd.conf in a text editor such as Notepad.
-4-
3. Scroll down to the AddType section (usually at the bottom of the file) and add the following
lines:
• AddType text/vnd.wap.wml wml
• AddType image/vnd.wap.wbmp wbmp
4. Save the file.
5. Restart Apache so that it recognizes the newly added MIME types.
3. REFERENCE:
More information about WAP and WML can be obtained from the WAP Forum at the following HTML
link:
http://www.wapforum.org/