Configuring Microsoft Internet Information Server
CONTRIBUTOR: Shahjahan Alhassan - 24th Nov 2001

In order to run WAP content from any server you need to set up the MIME (Multipurpose Internet Mail Extensions) types. Here we've detailed how to do this for Microsoft's IIS on Windows NT 4.0 Server.

Steps
  • Open the Management Console from the 'Start' menu:


  • Start \ Programs \ Windows NT 4.0 Option Pack \ Microsoft Internet Information Server \ Internet Service Manager

  • Locate the web server ("Default Web Site") under Internet Information Server and your server's name.


  • Right-click 'Default Web Site', Select 'Properties', and then the 'HTTP Headers' tab.


  • Click 'File Types...' to enter the MIME Map section.


  • Click 'New Type...' in order to enter the MIME types for WAP files.


  • Enter the associated extension and content type for the following WAP MIME types:


  • Associated Extension Content Type (MIME)
    .wml text/vnd.wap.wml
    .wmlc application/vnd.wap.wmlc
    .wmls text/vnd.wap.wmlscript
    .wmlsc application/vnd.wap.wmlscriptc
    .wbmp image/vnd.wap.wbmp

  • Once all of the above MIME types have been entered, your server is ready to deliver WAP content.


  • An additional step is to set up a default document (e.g 'default.wml' or 'index.wml') so that WAP pages can automatically be delivered.


  • In order to do this, click the 'Documents' tab.


  • Click 'Add' and then enter the name of the file that will represent the default WAP file in any given directory.


  • Once done, your WAP set up is complete.