Author |
Error in my waplink. |
darkshifty Joined: Jun 13, 2004 Posts: 65 From: Netherlands, The PM |
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 Joined: Jan 20, 2002 Posts: > 500 From: Belgium PM |
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 Joined: Jun 13, 2004 Posts: 65 From: Netherlands, The PM |
MANY thanks  |
Jim Joined: Jan 20, 2002 Posts: > 500 From: Belgium PM |
No problem mate, I hope that it works now. Have fun
|
wapchimp Joined: Jun 09, 2002 Posts: > 500 From: Land of the chimps PM, WWW
|
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 Joined: Jun 13, 2004 Posts: 65 From: Netherlands, The PM |
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  |
|