WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 6th, 2003, 03:45 AM
blackie blackie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 14 blackie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wap Server

I was trying to setup my own wap server with apache.. what is the setting and file i have to amend?can apache be conf as a wap server?

Reply With Quote
  #2  
Old July 9th, 2003, 06:19 PM
oskar oskar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 222 oskar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 40 sec
Reputation Power: 8
Send a message via ICQ to oskar
You just need to make some Addtype in your httpd.conf:

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

Reply With Quote
  #3  
Old July 10th, 2003, 08:47 PM
blackie blackie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 14 blackie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i set already..
i put the wml files in my apache/htdocs/wap/..
i goto my GPRS phone and enter http://<myip_address>/wap/index.wml
but it still cannot connect

Last edited by blackie : July 10th, 2003 at 08:55 PM.

Reply With Quote
  #4  
Old February 6th, 2004, 12:07 PM
ChiralSoftware ChiralSoftware is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Beverly Hills
Posts: 45 ChiralSoftware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to ChiralSoftware
You should not have to do any AddTypes in Apache. In fact, I would take those out if I were you. The default mime types file contains all the necessary WML types. Apache can server WAP, WML, WBMPs, WMLScript, etc, with no problems. Basically, HTTP stands for "Hypertext Transfer Protocol" but it really has nothing to do with hypertext. It should more properly be called "transfer files with MIME type specified and allow the client to send files and data back" but that's not such a great acronym and I think that at the time HTTP was first created, there were no images, and so it really was used exclusively for hypertext.

Anyway, please contact me if you have some questions about how to set up WAP service. If you need a commercial WAP server solution that automatically transforms HTML into WML, reformats images and detects devices, and lets you do all of this with one URL for both wired and wireless users, also check out http://chiralsoftware.net.

As for it not working with your IP address in the URL, I have no idea why that is. Maybe the phone, or the gateway doesn't like IP addresses in URLs. Many devices and gateways have bugs or are not completely compliant with the relevant RFCs. One thing that is sometimes useful in figuring these questions out is to do a tcpdump on the server (with the relevant filters) while you attempt to hit the site from your phone, just to see if traffic is getting to your server at all. If no packets are getting there, and you are sure the IP addr is right, then that tells you where the problem is.

------------
WAP hosting

Last edited by ChiralSoftware : March 10th, 2004 at 12:41 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Wap Server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway