httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis Daly <d...@daoine.org>
Subject Re: Multiviews
Date Fri, 17 May 2002 09:07:53 GMT
On Fri, May 17, 2002 at 05:03:58AM +0200, Vincent de Lau wrote:
> > -----Original Message-----
> > From: Joshua Slive [mailto:joshua@slive.ca]
> >
> > In a discussion several months ago, Will said that using multiviews a
> > request for mod_suexec.html should match with mod_suexec.en.html and
> > mod_suexec.ja.html in 2.0.  At the moment, I can't create the
> > behavior.
> > Has anyone else been able to get that to work?
> 
> If I'm correct and according to content-negotiation.html, mod_suexec.html
> should never return mod_suexec.{ja|en}.html because it doesn't match the
> pattern mod_suexec.html.* . I haven't seen that discussion, but unless
> something changed you've have the following options:
> 
> 1. rename the files: mod_suexec.html.{ja|en} and
>    make sure there is no mod_suexec.html
> 2. create a type map: mod_suexec.html.var
>    (see content-negotiation.html for an example)

The docs mentioned above match what the current code does, but don't
quite match (my reading of) what comments in the code indicate it
should do (look for "index.foo" in mod_negotiation.c).

For the earlier discussion, look for a thread with a subject like
"[PATCH] mod_negotiation, suffix order" on dev@httpd.apache.org from
about October 3, 2001.

Briefly, there was a question about whether the request was opaque and
must match fully, or could be broken into bits and have each bit match
individually.  The end consensus leaned towards it being opaque.  For full
details (and in case I've misrepresented anything), check the archives
for the thread mentioned above.

The short answer is, the hoped-for behaviour above can't happen with
the current codebase.

There is always option 3.  -- make the request for "mod_suexec".  That
should work, possibly with MultiviewsMatch set to something other than
the default.

	f
-- 
Francis Daly        deva@daoine.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message