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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 10th, 2004, 12:09 PM
matopia matopia is offline
WinXP/Apache 1.3/PHP/PHPNuke 7
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: London
Posts: 2 matopia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wap Problem - Is it my Apache?

Hi all,

I run my own web site from home. (EasyPHP (Apache 1.3/PHP/MySQL)).

Recently I purchased a motorola V600 mobile and wanted to access my web page. Only to discover it's way to large to show on phone. So I decided to setup a few WML files to test and access from phone.

I downloaded a program called WAPDrive Waptor to create some basic WML files, and I have also used Macromedia Dreamweaver MX to create them.

I have been using Openwave SDK 6.2.2 HTTP to test the WML files. Everything worked ok in the tests.

All my test WML files are located in a folder called /WML which is one folder off my root of my web page. My current test WML file is called "welcome.wml".

When I tried accessing my "welcome.wml" file on my phone using the following URL: URL I got the following error on my phone.... 404: Not Found.

I also tested the same URL on Wapsilon.com and got the following error message:
Wrong mime-type, I got text/html, but I want text/vnd.wap.wml.

I have checked ADDTYPES in my c:/easyphp/apache/conf/httpd.conf file and this is what I have:

AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType text/vnd.wap.wml .wml
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
AddType image/vnd.wap.wbmp .wbmp
AddType application/x-httpd-php .wml

Is this correct? Or should some of them not be in there? (my server is up and running with no problems).

I am totally stumped as to WHY IT DOES NOT WANT TO WORK?

If anyone can help, I would really appreciate it.

Here is a copy of the welcome.wml file as it is appears in the /wml folder:

<?xml version="1.0"?>
<!-- created by WAPtor (URL) -->
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>

<!-- THIS IS THE FIRST CARD IN THE DECK -->
<card id="MainCard" title="This is a first card">
<p align="center">
Welcome to lookatbowen.com<p align="center">This is a test</p>
</p>
</card>

</wml>

Cheers,

Mike

Reply With Quote
  #2  
Old April 10th, 2004, 12:18 PM
matopia matopia is offline
WinXP/Apache 1.3/PHP/PHPNuke 7
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: London
Posts: 2 matopia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problem Solved

As I posted the above thread I realized my problem. I use NO-IP.com to forward my IP address to my domain name. So I should have been typing in mydomainname.no-ip.com instead of mydomainname.com.

I have just tried it, and my wap WELCOME.XML works fine. I have been sitting here for two days wondering what the hell I am doing wrong.

So, please ignore my previous plea, as I am an idiot.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Wap Problem - Is it my Apache?


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 4 hosted by Hostway