Return-Path: Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Delivered-To: mailing list users@httpd.apache.org Received: (qmail 58968 invoked from network); 27 Nov 2001 14:53:10 -0000 Received: from server.trabas.co.id (HELO server.trabas.com) (202.159.35.69) by daedalus.apache.org with SMTP; 27 Nov 2001 14:53:10 -0000 Received: from borg.intern.trabas.com (IDENT:root@[202.150.128.142]) by server.trabas.com (8.9.3/8.9.3) with ESMTP id VAA17285 for ; Tue, 27 Nov 2001 21:59:26 +0700 Received: from [192.168.2.160] ([192.168.2.160]) by borg.intern.trabas.com (8.9.3/8.9.3) with ESMTP id WAA25748 for ; Tue, 27 Nov 2001 22:07:51 +0700 Date: Tue, 27 Nov 2001 21:36:39 +0700 (WIT) From: Hasanuddin Tamir Reply-To: Hasanuddin Tamir To: Subject: Re: Directory options In-Reply-To: <20011127135852.74017.qmail@web13805.mail.yahoo.com> Message-ID: Organization: Trabas MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 27 Nov 2001, Jose Julian Buda wrote, > Hi , i have this directory define on httpd.conf: > > > Options Indexes FollowSymLinks Includes ExecCGI > IndexOptions FancyIndexing > Allow from All > AllowOverride All > > > This directory is working , i mean , the apache build > the index.html automatically when i access to the > directory ,but what i need to do is sort the resulting > (index.html)page's links in date order , no > alphabetically . > In this directory i have at this moment 45,000 html > files , and this directory is indexed whit the HTdig > sofware , so i need to sort the links in the > index.html generated , by date because of the apache > timeout , and i need to see the newest files at top . > How can i do that ? > Sorry by my english. > Thank any help. Use IndexOrderDefault directive. # newest first IndexOrderDefault Descending Date # oldest first IndexOrderDefault Ascending Date For more detail see, Local copy (you should have it) http://your.site.com/manual/mod/mod_autoindex.html#indexorderdefault or, Online copy http://httpd.apache.org/docs/mod/mod_autoindex.html#indexorderdefault san -- Trabas - http://www.trabas.com