FYI... also applied to httpd-win.conf The patch means we _must_ maintain index.html.var - we won't use the defaults.
However, /manual/ is multiviewed, because that's just too much effort to map, and is certainly less frequently accessed. Bill ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 19, 2001 6:19 PM Subject: cvs commit: httpd-2.0/docs/conf httpd-std.conf > wrowe 01/08/19 16:19:05 > > Modified: docs/conf httpd-std.conf > Log: > This patch; > > enables Multiviews only for htdocs/manual/ > > enables .var type map files to shortcut Multiviews > > changes the DirectoryIndex to index.html.var before index.html, > again to avoid multiviews if a typemap exists. > > locates the /manual resource by an alias, so the user may easily > change their DocumentRoot and still have access to the documentation. > > Revision Changes Path > 1.38 +32 -1 httpd-2.0/docs/conf/httpd-std.conf > > Index: httpd-std.conf > =================================================================== > RCS file: /home/cvs/httpd-2.0/docs/conf/httpd-std.conf,v > retrieving revision 1.37 > retrieving revision 1.38 > diff -u -r1.37 -r1.38 > --- httpd-std.conf 2001/08/19 01:44:43 1.37 > +++ httpd-std.conf 2001/08/19 23:19:05 1.38 > @@ -294,7 +294,7 @@ > # Note that "MultiViews" must be named *explicitly* --- "Options All" > # doesn't give it to you. > # > - Options Indexes FollowSymLinks MultiViews > + Options Indexes FollowSymLinks > > # > # This controls which options the .htaccess files in directories can > @@ -308,6 +308,15 @@ > # > Order allow,deny > Allow from all > + > +# > +# Note that directly accessing an index.html.var typemap is much faster > +# than using MultiViews negotation on a directory. We distribute a typemap > +# of the complete index.html collection, so we use that index.html.var > +# typemap here. > +# > + DirectoryIndex index.html.var index.html > + > </Directory> > > # > @@ -466,6 +475,9 @@ > # realname must also be slash terminated, and if the fakename omits the > # trailing slash, the realname must also omit it. > # > +# We include the /icons/ alias for FancyIndexed directory listings. If you > +# do not use FancyIndexing, you may comment this out. > +# > Alias /icons/ "@@ServerRoot@@/icons/" > > <Directory "@@ServerRoot@@/icons"> > @@ -473,6 +485,25 @@ > AllowOverride None > Order allow,deny > Allow from all > +</Directory> > + > +# > +# This should be changed to the ServerRoot/htdocs/manual/. The alias > provides > +# the manual, even if you choose to move your DocumentRoot. You may > comment > +# this out if you do not care for the documentation. > +# > +Alias /manual "@@ServerRoot@@/htdocs/manual" > + > +<Directory "@@ServerRoot@@/htdocs/manual/"> > + Options Indexes FollowSymLinks MultiViews > + AllowOverride None > + Order allow,deny > + Allow from all > +# > +# Because we do not distribute type map files for htdocs/manual/, > +# we can save one stat call by not looking for one. > +# > + DirectoryIndex index.html > </Directory> > > # > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]