Apache: Changing default number of columns in automatic directory listing
This article describes how to change the default number of columns in the Apache automatic directory listing
To change the default number of columns for the filename in the automatic directory listing use the following in the httpd.conf file:




The command to be inserted into the  tag is:



IndexOptions NameWidth=60 FancyIndexing FoldersFirst



--------------------------------

An Example:





    #

    # Possible values for the Options directive are "None", "All",

    # or any combination of:

    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

    #

    # Note that "MultiViews" must be named *explicitly* --- "Options All"

    # doesn't give it to you.

    #

    # The Options directive is both complicated and important.  Please see

    # http://httpd.apache.org/docs/2.2/mod/core.html#options

    # for more information.

    #

    Options Indexes FollowSymLinks Includes ExecCGI

    IndexOptions NameWidth=60 FancyIndexing FoldersFirst

    #

    # AllowOverride controls what directives may be placed in .htaccess files.

    # It can be "All", "None", or any combination of the keywords:

    #   Options FileInfo AuthConfig Limit

    #

    AllowOverride All



    #

    # Controls who can get stuff from this server.

    #

    Order allow,deny

    Allow from all







Media Lab Overview
LIACS Homepage
MM Conf
ACM Multimedia
ACM ICMR
IAPR ICPR
Science Direct
IEEE Library
LIACS Publications
ACM Digital Library