|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Wap Problem - Is it my Apache? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|