August 21st, 2000, 02:29 AM
Hi, I am trying to do a search using perl to output the wml file so that it can use in wap phone.
The problem i face is that the wap browser reported "Unsupported File type...."
Any can tell me how the fix this?
I know that php can do it by putting the
"<? header("Content-type: text/vnd.wap.wml"); ?>""
on the first line of script, but how in perl....
August 21st, 2000, 04:12 AM
August 25th, 2000, 04:01 AM
Hi, thanks for your reply...
I had tried to put the file(.htaccess) with the code below into cgi-bin which the search.cgi is located.
AddType text/vnd.wap.wml wml cgi
AddType image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
BUT, the problem still cannot be fixed?
It prompt the error message:-
Unsupported Content-type: text/html
why? Am i put the file wrongly or the code inside .htaccess??
Can please help, this is urgent....thanksssss
August 25th, 2000, 09:14 AM
when I had this problem I edited the mime.types file in the /etc directory
then did a reboot.
this is on RED Hat Linux
Remember to make a copy before changing the file (just in case)
August 26th, 2000, 10:56 AM
Is there any browser available for testing wml pages.
Actually i have CGI::WML in my Linux Box.
I want to write wml pages .
I am using windows 95 for my testing .
Is there any wml browsers there?
If so wherecan i download?
August 26th, 2000, 11:48 AM
Mix 1 bit of Ope with 1 bit of ra and you get the name of the best browser available.
For the lazy ones:
Ope + ra = Opera