Webmaster Forum  

Go Back   Webmaster Forum > Web Hosting Forum - Web Hosting - Web Host - Hosting - Managed Hosting - Shared Hosting > Web Hosting Forum
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


How to configure your web server for w@p

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-09-2005, 12:21
admans
Senior Member


Join Date: Jul 2005
Posts: 248
Trader Rating: (0)
Points: 22 (Donate)
5 F$/Referral Refer Friends
admans is on a distinguished road
Default How to configure your web server for w@p

How to configure your web server for w@p

Well to start off, you'll need to choose your favorite server side language such as asp, jsp, php and so on and so forth.

All of these languages have the ability to produce a WAP site.
Next you'll need to set up the MIME types if they haven't already been done.

To enable support for WAP / WML pages on a UNIX based system,

add the following MIME Types through your Control panel or inside a .htaccess file:

.wmlc application/vnd.wap.wmlscript
.wmls text/vnd.wap.wmlscript
.wmlsc application/vnd.wap.wmlscriptc
.wbmp image/vnd.wap.wbmp


WAP support on a Windows system

You don't need to install a new WAP server to use this protocol. You can just WAP-enable IIS. To WAP-enable IIS, follow these steps:

Open the Microsoft Management Console (MMC), and right-click the computer name you want to WAP-enable.
Select Properties.
Under the Computer MIME Map heading in the Internet Information Server tab, click File Type.
Click New Type.
Enter wml in the Associated Extension box.
Enter text/vnd.wap.wml in the Content MIME box.


Repeat steps 1 through 6 for each of the file types

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


After you've WAP-enabled IIS, you can add the functionality of Active Server Pages (ASP) to your .wml documents. At present, .wml documents are static. By adding the asp.dll to create a .wml document, you can create such functional elements as database access and dynamic pages. To create ASP-enabled .wml pages, add the following line to the top of your page (you must complete steps 1 through 7 before adding this code, which only works on .asp files):

<% response.ContentType = "text/vnd
.wap.wml" %>
This line forces the server to output a text-based .wml file that the WAP-enabled device can understand.

With the global move toward digital wireless technology, WAP is going to become an important specification in the future. WAP-enabling IIS is easy and fast, and the addition of ASP can result in eye-catching, dynamic information for your wireless technology users.
__________________

http://img76.imageshack.us/img76/6450/sc2but4ng.gif | http://img495.imageshack.us/img495/...ogorwtan0je.gif | <a href="http://webtools.sc2.info"><img src="http://img129.imageshack.us/img129/8682/sc2webtan7ju.gif" border="1" width="100" alt="Free Webtools for all" /></a> | <a href="http://www.indexrated.com"><img src="http://img398.imageshack.us/img398/4813/listed1pb.gif" border="1" width="100" alt="Index Rated Directory - Rating Quality Sites" /></a>

Get all Games,Apps and Wallpapers Nokia, Samsung and Sony Erricson!!

admans is offline
Reply With Quote
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Resources : | Advertise at FHF | itextLink.com| Reseller Hosting| TextDot| iNamePros| Any Webmaster| Web Host| Dep3|


All times are GMT -4. The time now is 21:46.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.