Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 22:10:20 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Warren Liddell <shinjii@maydias.com>
Subject:   Re: apache an display order/prefrence of directories to files
Message-ID:  <200902232210.20308.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <499E53D7.7030003@maydias.com>
References:  <499E53D7.7030003@maydias.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 19 February 2009 21:55:19 Warren Liddell wrote:
> I have a lot of various files in a dir i share to a few relatives an
> friends and i want Directories shown first in Alphabetical order, then
> files .. is there a way to specify this in apache ?
>
> Im running Apache 1.3.41 on FreeBSD 7.1-STABLE KDE4.2

http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html#indexorderdefault
http://httpd.apache.org/docs/1.3/mod/mod_autoindex.html#indexoptions

In short:
<Directory /foo/bar/baz>
	Options +Indexes
	IndexOptions FancyIndexing FoldersFirst
	IndexOrderDefault Ascending Name
</Directory>
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902232210.20308.fbsd.questions>