rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: tomaspitea on June 26, 2006, 10:21:02 AM

Title: WAP and wml-files
Post by: tomaspitea on June 26, 2006, 10:21:02 AM
I´m using HFS 2.0

In the root-folder I have I simple html-page as startpage so (the adress would be like "www.myserver.hfs/start.html" ) the servertemplate is located in a subfolder. This works greate.

but now I would like to have a homepage on wap but when i typ the adress to my wap-page like "www.myserver.hfs/start.wml" it does´t work
Is it possible to access a wml-page in HFS?
do I have this problem because the url is "www" and not "wap"
Title: WAP and wml-files
Post by: rejetto on June 26, 2006, 10:29:04 AM
to be honest, i have no idea on how wap works.
but i don't think it needs a special web server, just special files, or it would cost too much to industry.
Title: WAP and wml-files
Post by: ledufe on June 26, 2006, 10:43:49 AM
i guess that i can help you, or at least i will try...
can you give me more info?
what is you phone? model, manufacturer
how are you conecting?
via gprs? via datacable?
by emulation?
are you using the original template?
and about the wml? can you send me the start.wml to me?
just to take a closer look....post it here...
maybe me or somebody else can help..
have you seen this post?
http://www.rejetto.com/forum/viewtopic.php?t=3394
Title: WAP and wml-files
Post by: tomaspitea on June 26, 2006, 11:11:03 AM
I´m using a SonyEricsson T630, I´m conecting via GPRS
I have tryed to upload the wml to a webhotel that suports wml and on that server the wml-file works fine.
http://medlem.spray.se/tomaspitea/startpage.wml

I´dont use the template in the rootfolder.. it´s a simple html in the root with a link to a subfolder with a modifyed template in it



the wml is simple it look like this:
<wml>
<card id="mycard" title="My Wap-page">
<p>
Hello world
</p>
</card>
</wml>
Title: WAP and wml-files
Post by: Anonymous on June 26, 2006, 12:58:39 PM
first of all
lets check something before...
have you added the mime type to hfs?

the file is published on the hfs?
have you tryed to do a file xhtml compilant?
Title: WAP and wml-files
Post by: tomaspitea on June 27, 2006, 01:44:22 PM
Now I have added the mime -types.
and I get it to work with a wap-emulator on internet
but it does´t work when I use my phone
In the phone I get the message
"something is wrong whit the page you tried to acess, Try another link"
Title: WAP and wml-files
Post by: tomaspitea on June 27, 2006, 01:59:36 PM
when I rename the wap.wml to wap.txt I get the "download file" menu in my phone when I try do access the file.. so I think something is wrong with the mime-types

in the left rows I wrote *.wml and *.wmls
in right rows: text/vnd.wap.wml and: text/vnd.wap.wmlscript

is that correct??
Title: WAP and wml-files
Post by: ledufe on June 30, 2006, 06:12:26 PM
it is a curious thing, but i put your sample code on my server and it shows fine on my phone and on the emulators i've tested(openwave, winwap, and motorola phone browser emulator for V series) so, i guess that the error is on your mime types config, lets see this

Code: [Select]
Document type             MIME type                       Typical extension
Plain WML documents       text/vnd.wap.wml                .wml
Wireless Bitmap Images    image/vnd.wap.wbmp              .wbmp
Compiled WML documents    application/vnd.wap.wmlc        .wmlc
WMLScripts                text/vnd.wap.wmlscript          .wmls
Compiled WML Scripts      application/vnd.wap.wmlscriptc  .wmlsc


did your hfs is with something like this on the mime type config?

(http://img511.imageshack.us/img511/4949/wapmimetypes9fu.jpg)