How To Configure Apache or IIS Web Server to Work with WML ~ Openwave SDK

by Nelson Druell.

Share
|
Homepage | Submit your article | Contact | TOS
More articles on web design and development  

You are here: Categories » Internet » Web design and development

It could be a useful exercise for you to create your own WML program and test it on a live Web server. This requires the following two items:

  1. Access to a Web server (IIS or Apache both work well)
  2. A development tool to test the programming

For the development tool, we recommend that you download and use the latest version of Openwave's SDK, which is freely available to developers at http://www.openwave.com. Once you install this program, you simply need to specify where the files will be stored.

To tune the Web server, you must add the MIME (Multipurpose Internet Mail Extensions) settings. MIME enables your Web server to handle specific file types. If the file extension is not listed, the Web server will reject any requests for a file of that type.

IIS Setup

  1. Click Start -> Settings -> Control Panel -> Administrative Tools -> Internet Information Service.
  2. Right-click on the Web Sites directory and select Properties.
  3. Click the HTTP Headers tab.
  4. Click the File Types button.
  5. Click the New Type button.
  6. Enter wml (or wmls ) in the Associated Extension box.
  7. Enter text/vnd.wap.wml (or text/vnd.wap.wmlscript ) in the Content Type (MIME) box
  8. Click OK -> OK -> OK.
  9. Restart IIS.

Apache Setup

  1. Click Start -> Find -> Files or Folder and search the C:\ drive for mime.types
  2. This file will typically be located under the C:\Program Files\Apache Group\Apache\conf directory.
  3. Open the file and find the following lines:

    application/vnd.wap.wbxml wbxml
    application/vnd.wap.wmlc wmlc
    application/vnd.wap.wmlscriptc wmlsc
    application/vnd.wap.wbxml wbxml


  4. After the application/vnd.wap.wmlc wmlc line insert the following lines:

    application/vnd.wap.wml wml
    application/vnd.wap.wmlscript wmls


  5. You could also edit the existing wmlc and wmlscriptc lines and remove the trailing c.
  6. Restart Apache.

As you can see, it is not difficult to get WML running on a Web server. There is no software or hardware to install. The fun and challenging part for you will be creating the WML pages and testing the Web server with either a real PCS or a virtual PCS device.

Leave a comment or ask a question
Total comments: 0

Web design and development Disclaimer

  • The e-articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us to investigate the issue
Advantages and Disadvantages of Message Based Authentication - Client credentials can also be passed along with the regular message payload. This is marginally easier to implement on the client side because adding credentials should be no more difficult than a (more...)
Advantages and Disadvantages of HTTP Authentication - Authentication can be passed in the HTTP headers of incoming requests. This is the same type of authentication that is used when your browser creates a small login window when attempting to access (more...)
How to select a Content Management System - With so many products out there to choose from, selecting the product can feel frustrating. No single product is going to work for every organization or business need, so you'll really need to un (more...)
Points To Ponder On While Customizing You Website - Every business consists of the value of the following three components: Time Skill Investment These three components uti (more...)
There are usually two different kinds of Web sites in gay life today - There are usually two different kinds of Web sites in gay life today : one a "vanilla" site, built to appeal to your family and straight friends, containing whatever will bring smiles to your (more...)
Journey of the Internet - A decade ago who could have thought that we could watch a live event being held just about anywhere in this world straight on our desktop machine or watch movies online on our laptop as if it was p (more...)
The Essential Ingredients Of A Magnetic Website - Yes, believe it or not, there is actually a recipe for creating a website that is magnetic. A website that attracts targeted people far and wide like a super-powerful yet pinpoint-accurate magne (more...)
What it takes to build a website - It takes many skills to build a website. In this article we discuss some of those skills and the importance of them. Many people think that building a website consists of one skill when in (more...)
XHTML in web design - Brief description Network is changing. In fact, the networks are changing every day: different languages, algorithms, concepts and thinking. As you have just fin (more...)
The Top 4 Benefits of a Content Management System - One of these tools is called a "content management system," or CMS for short, and I want to spend just a little bit of time telling you what I consider to be the top four benefits of using a CMS to (more...)

 
free content
    Copyright © 2006 - 2012 e-articles.info.
The texts, articles and tutorials in the directory are property of their respective owners and authors.