httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] content negotiation by directory
Date Thu, 30 Nov 2006 11:54:03 GMT
On Thu, 30 Nov 2006 11:08:17 +0100
"Boyle Owen" <> 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

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