httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasanuddin Tamir <has...@trabas.com>
Subject Re: Directory options
Date Tue, 27 Nov 2001 14:36:39 GMT
On Tue, 27 Nov 2001, Jose Julian Buda <julytoccr@yahoo.com> wrote,

> Hi , i have this directory define on httpd.conf:
> 
> <Directory "/home/http/html/filtro">
>   Options Indexes FollowSymLinks Includes ExecCGI
>   IndexOptions FancyIndexing
>   Allow from All
>   AllowOverride All
> </Directory>
> 
> 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



Mime
View raw message