rejetto forum
Software => HFS ~ HTTP File Server => Topic started 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"
-
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.
-
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
-
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>
-
first of all
lets check something before...
have you added the mime type to hfs?
text/vnd.wap.wml
text/vnd.wap.wmlscript
the file is published on the hfs?
have you tryed to do a file xhtml compilant?
-
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"
-
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??
-
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
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)