httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Eilebrecht <l...@apache.org>
Subject RE: cvs commit: apache-1.3/conf httpd.conf-dist
Date Sun, 08 Nov 1998 14:14:00 GMT
According to fielding@hyperreal.org:

[...]
>     #
>    +# Control access to UserDir directories.  The following is an example
>    +# for a site where these directories are restricted to read-only.
>    +#
>    +#<Directory /*/public_html>
>    +#    AllowOverride FileInfo AuthConfig Limit
>    +#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
                   ^^^^^^^^^^                              ^^^^^^^^^^^^^^

Ok, it's an example, but newbies tend to just uncomment such examples and
use it without understading what the options MultiViews and IncludesNoExec
bring about.

>    +#    <Limit GET POST OPTIONS PROPFIND>
>    +#        Order allow,deny
>    +#        Allow from all
>    +#    </Limit>
>    +#    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
>    +#        Order deny,allow
>    +#        Deny from all
>    +#    </Limit>
>    +#</Directory>
>    +
>    +#
>     # DirectoryIndex: Name of the file or files to use as a pre-written HTML
>     # directory index.  Separate multiple entries with spaces.
>     #
>    @@ -476,6 +493,13 @@
>     #
>     Alias /icons/ "@@ServerRoot@@/icons/"
>     
>    +<Directory "@@ServerRoot@@/icons">
>    +    Options Indexes MultiViews

MultiViews and Indexes for the icons directory?
In my opinion "Options None" should be used here.

>    +    AllowOverride None
>    +    Order allow,deny
>    +    Allow from all
>    +</Directory>

[...]
>     #
>     # FancyIndexing is whether you want fancy directory indexing or standard
>     #
>    -IndexOptions FancyIndexing
>    +FancyIndexing On

I don't like this either...
I our docs we say "You should use IndexOptions FancyIndexing in preference to
the standalone FancyIndexing directive.".
Ok, that was necessary up to version 1.3.2, but I don't see a reason why
we should use the standalone variant. "FancyIndexing" is an indexing
option and using "IndexOptions FancyIndexing" helps to call attention
to the IndexOptions directive and its other nifty options.

     
ciao...
-- 
Lars Eilebrecht                      - How do you keep a moron in suspense?
sfx@unix-ag.org
http://www.home.unix-ag.org/sfx/

Mime
View raw message