On Thu, 30 Nov 2006 11:08:17 +0100
"Boyle Owen" <[EMAIL PROTECTED]> wrote:


> What about mod_rewrite? Maybe something conditional on the
> Accept-Language header?

That'll work up to a point.  Specifically, the point of a yes/no
decision as to whether a user accepts a language.

But content negotiation is a bigger wheel to reinvent, because it
supports not just yes/no, but also preferences such as "I read A
and B, but prefer A, and at a pinch I also read C and D".

Using mod_negotiation with map files - like Apache's own
documentation is bundled - is a better solution.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to