[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] WAP on RAQ2



Hello,

I am trying to create a wap enabled site, but can't seem to access it using 
my SprintPCS phone. I get an error 1015: invalid content type.

I can access the site using the UP.Simulator from the phone.com SDK, so I 
think that this might be due to some special RewriteCond required for 
SprintPCS.

I have added the following mime types to the mime.types file:

AddType text/vnd.wap.wml wml
AddType application/vnd.wap.wmlc wmlc
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlscriptc wmlsc
AddType image/vnd.wap.wbmp wbmp

I have the following rewrite statements in srm.conf:

# Catch most WAP browsers
RewriteCond %{HTTP_ACCEPT} text/vnd\.wap\.wml [OR]
# WinWAP, WAPjag
RewriteCond %{HTTP_USER_AGENT} wap [OR]
# Nokia emulators (sdk)
RewriteCond %{HTTP_USER_AGENT} 7110
# Rewrite!!
RewriteRule  ^[\./](.*)$                 /index.wml  [L]


Any ideas? Anyone know how to clear the cache out of a web enabled phone? 
This problem may also be due to a previous(non-working) version of the page 
being pulled from cache.

Thanks in advance.

Sean