Esato

Forum > Sony Ericsson / Sony > Themes, ringtones, screensavers, games, video clips > Error in my waplink.

Author Error in my waplink.
darkshifty
T610
Joined: Jun 13, 2004
Posts: 65
From: Netherlands, The
PM
Posted: 2004-06-17 21:22
Reply with quoteEdit/Delete This PostPrint this post
i am sorry if this is the wrong section however:

i got a problem with making a wapsite :

http://members.chello.nl/hwfuchs/wapsite.html


if i browse it with a wapbrowser it give's me an error when i try to download "landscape.thm" this is the error

    Wrong mime-type, I got application/x-tar, but I want text/vnd.wap.wml.
    This error occurs when you request a page that is not a WAP page, or when the webserver isn't set up correctly for hosting WAP sites


it say's it's my link or it's my hst i think that i typed a wrong link ? anny suggestions how to fix it would be great

Thanks

[ This Message was edited by: darkshifty on 2004-06-17 20:23 ]

[ This Message was edited by: darkshifty on 2004-06-17 20:23 ]

[ This Message was edited by: darkshifty on 2004-06-17 20:24 ]

[ This Message was edited by: darkshifty on 2004-06-17 20:26 ]
Jim
T39 black
Joined: Jan 20, 2002
Posts: > 500
From: Belgium
PM
Posted: 2004-06-17 21:27
Reply with quoteEdit/Delete This PostPrint this post
Copy and paste this in a text editor

Quote:
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlscriptc
AddType application/java-archive jar
AddType application/vnd.mophun.application mpn
AddType application/vnd.mophun.certificate mpc
AddType application/vnd.eri.thm .thm
AddType audio/imelody .imy
AddType image/vnd.wap.wbmp .wbmp
AddType image/vnd.wap.wbmp wbmp
AddType text/vnd.sun.j2me.app-descriptor jad
AddType text/x-vCalendar .cal
AddType text/x-vCard .vcf
AddType text/x-vNote .vnt
AddType text/x-vmel .mel
AddType text/vnd.wap.wml wml
AddType text/vnd.wap.wmlscript wmls



Save the file as htaccess.txt and upload the file on your server ( root directory ) and once uploaded rename the file as .htaccess and you are done. It will work now, of course if the server accepts .htaccess files
darkshifty
T610
Joined: Jun 13, 2004
Posts: 65
From: Netherlands, The
PM
Posted: 2004-06-17 21:41
Reply with quoteEdit/Delete This PostPrint this post
MANY thanks
Jim
T39 black
Joined: Jan 20, 2002
Posts: > 500
From: Belgium
PM
Posted: 2004-06-17 23:47
Reply with quoteEdit/Delete This PostPrint this post
No problem mate, I hope that it works now. Have fun
wapchimp
C905 Silver
Joined: Jun 09, 2002
Posts: > 500
From: Land of the chimps
PM, WWW
Posted: 2004-06-18 00:04
Reply with quoteEdit/Delete This PostPrint this post
plus your page is written in WML but you have saved the file as HTML. You must save it as WML if written in .wml language or .php if your are scripting [addsig]
darkshifty
T610
Joined: Jun 13, 2004
Posts: 65
From: Netherlands, The
PM
Posted: 2004-06-18 11:38
Reply with quoteEdit/Delete This PostPrint this post
lol yeah i did saved it in wml .. but i could not paste it in the board thats why i saved it in a html to show it to u guy's

however many thanks for your help
Access the forum with a mobile phone via esato.mobi