that's what I'm thinking, Nick.

I'm wondering about using the content-negotiation to serve the
standard "index.fr.html", but then having mod-rewrite to transform
".fr.html" into the real path to file. I'd have to read up on the
order of processing, but IIRC that might work.

bit of a fiddle though. am I the only person to want this ... ?

On 11/30/06, Nick Kew <[EMAIL PROTECTED]> wrote:
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]




--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

---------------------------------------------------------------------
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