Spend some time the last two days trying to figure out why my mobil xhtml site did’t showed on various non smartphones.
I’ve created a simple page, with content type application/xhtml+xml in my meta tags, and the DTD to mobile 1.0 xhtml and futhermore the page validated fine on W3C.
BUT the site failed on Sony Ericsson W810i and Nokia 6300 and for sure many others.
The users got: “Couldn’t reach the indicated web server”.
After hours of debugging i finally found out that Apache was bypassing the meta and sending a text/html content type – and that its unacceptable for the Symbian series browsers. (Opera mini worked fine).
SO remember to send a header!
This did’t the trick for me, just before your html write:
Header("Content-Type: application/xhtml+xml; charset=utf-8");