[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#239829: apache: ReadmeName and HeaderName ignored, nothing displayed



Hi Robert,
	mod_autoindex was not very well documentented at that time. Here
is a snapshot of you might need:

    #
    # ReadmeName: the name of the README file the server will look for by
    # default, and append to directory listings.
    #
    # HeaderName: the name of a file which should be prepended to
    # directory indexes.
    #
    # The module recognize only 2 kind of mime-types, text/html and
    # text/*, but the only method it has to identify them is via
    # the filename extension. The default is to include and display
    # html files.
    #
    ReadmeName README.html
    HeaderName HEADER.html

    # Otherwise you can comment the 2 lines above and uncomment
    # the 2 below in order to display plain text files.
    #
    # ReadmeName README.txt
    # HeaderName HEADER.txt

Please let me know if it helps.

Fabio

PS I don't have a woody system handy to test sorry.. if someone can give
it a shot I would be very very glad

On Wed, 24 Mar 2004, SZOKOVACS Robert wrote:

> Package: apache
> Version: 1.3.26-0woody3
> Severity: normal
>
> Whatever I set to ReadmeName and HeaderName, nothing gets displayed in the
> directory listing
>
> -- System Information
> Debian Release: 3.0
> Architecture: i386
> Kernel: Linux ies-hungary 2.4.25 #3 Fri Feb 20 13:59:24 CET 2004 i686
> Locale: LANG=C, LC_CTYPE=C
>
> Versions of packages apache depends on:
> ii  apache-common             1.3.26-0woody3 Support files for all Apache webse
> ii  dpkg                      1.9.21         Package maintenance system for Deb
> ii  libc6                     2.2.5-11.5     GNU C Library: Shared libraries an
> ii  libdb2                    2:2.7.7.0-7    The Berkeley database routines (ru
> ii  libexpat1                 1.95.2-6       XML parsing C library - runtime li
> ii  logrotate                 3.5.9-8        Log rotation utility
> ii  mime-support              3.18-1.3       MIME files 'mime.types' & 'mailcap
> ii  perl                      5.6.1-8.6      Larry Wall's Practical Extraction
> ii  perl [perl5]              5.6.1-8.6      Larry Wall's Practical Extraction
>
>
>
>

-- 
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.



Reply to: