Apache Server | Search |
NowSMS Support Forums ⬆ WAP Technical Discussions (unsupported) ⬆ Archive through December 08, 2004 ⬆ |
◄ ► |
Closed: New threads not accepted on this page | |||
Topic | Posts | Last Post | |
Closed: New threads not accepted on this page |
Author | Message | |||
Francois |
Hi our page is on an Apache server the peaple who run the server says I can create a wap page and it will run, so I did what everyone does when learning some thing new i wrote A Hello World WML file. There basic. But when I try to test this from my Mototorola phone it says BAD RESPONSE FROM PHONE can some one tell me where the fault is Thanx | |||
Kent Williams |
Francois, Can you post a link for the WML page that you created? That will make it easier to determine what could be wrong. The most common problem that people encounter is when they are serving a WML 1.x page and their web server is not configured to return "text/vnd.wap.wml" as the MIME type for the page. Beyond that, you can run into problems if the standard WML XML headers are incorrect. Assuming a simple WML 1.1 "Hello World", you would have an XML header for the document that looks like this: <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> - Kent Williams Now Wireless Support | |||
Francois |
Hi Thank you for your post The server administrator gave me the following code to put in a ".htaccess" file in the sub dir addtype text/vnd.wap.wml wml addtype image/vnd.wap.wbmp wbmp He said that should allow wap access to the file The link is http:\\wap.criticalfever.com/temp/index.wml I'm not sure if index is the right name for the file? I check the header but I think it does look something like that Thanks Again | |||
Kent Williams |
Francois, Yes, that should be sufficient. Unfortunately, "wap.criticalfever.com" does not resolve in DNS for me, so I'm not sure if that is an internal only address for you? - Kent Williams Now Wireless Support | |||
Francois |
Ok Hit me with the dumb stick after your post I tried www.criticalfever.com dada and what do you it works. I thought all wap pages had to have wap infront instead www so as to identify it as a wap page to mobile phones. Thanks for that So know that this is sorted I can start building the the wap pages "boy I see a lot of post from me" Thanks again | |||
Kent Williams |
No worries. |