httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: Multi Language Error Documents
Date Mon, 20 Aug 2001 02:23:02 GMT
On Sun, 19 Aug 2001, William A. Rowe, Jr. wrote:

> 4. Change the default document list to serve index.html index.html.var in that order.
>    This will shortcut a ton of time negotating the content by stat() calls, since
>    without Multiviews we won't look for index.html.*, but we will catch the typemap :)

Note that this doesn't work when people do silly things like use
"/index.html" instead of "/".  Typically many people creating content use
the two interchangeably.  But that's ok, I think... since random people
shouldn't be making documents linking to the default index page.  
Although we should perhaps make sure there are no silly links in the docs
that reference /index.html.

Hrm.  When you committed the DirectoryIndex change, you did .html.var
first then .html.  Shouldn't it be the other way around (like you stated
above)?  In the current order, if someone sticks there own index.html in
there, it will not behave entirely as expected in odd (to the user)
ways...

So I like the idea of using a type map so multiviews don't have to be
enabled for "/".  The performance for / requests will still be 

Leaving multiviews enabled for the docs subtree is ok from a performance
and random bugs standpoint... there are still possibilities for security
issues, but they should be minimal.

So I like this direction... thanks.

But... we still have the original question of the multi-lingual error
messages, and if they should be enabled by default and, if so, then how.  
<g>


Mime
View raw message