httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter K. Sheerin" <>
Subject [users@httpd] Content negotiation working for WAP, but it shouldn't be!
Date Thu, 25 Nov 2004 00:28:21 GMT
I have tried over the past few years to configure Apache to support 
server-side content negotiation for both desktop and mobile browsers, 
only to fail because most cell phone browsers claim to support both HTML 
and WAP without specifying any quality preferences.

Suddenly, I have gotten this to work with my Motorola A845 phone 
browser, and can't figure out why, because it still doesn't send the q 
factors that should be needed to make it work. (I'm running Apache/1.3.31)

I have two files in my root:

And this in my .htaccess file
AddType application/xhtml+xml;level=1;charset=utf-8;qs=0.999 .xhtml
AddType application/vnd.wap.xhtml+xml;charset=utf-8;qs=0.800 .wap

According to the string it sends, and the apache rules described in the 
documentation, apache should be sending the. xhtml page to both Mozilla 
and my phone browser, since the latter claims to support both without 

But my phone, and at least one of my friends' phones, is consistently 
getting the .wap page. Why?

Is apache using a different algorithm than the one described? Is a wap 
proxy doing something strange? Or could it be that this phone is 
actively supporting client-side or transparent negotiation? How would I 
determine this?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message