You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jose Julian Buda <ju...@yahoo.com> on 2001/11/27 14:58:52 UTC
Directory options
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.
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Re: Directory options
Posted by Jose Julian Buda <ju...@yahoo.com>.
i just find this
may be this directive work
IndexOrderDefault Descending Date
in the <IfModule mod_autoindex.c>
Thank you very much.
--- Owen Boyle <ob...@bourse.ch> wrote:
> Jose Julian Buda 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 ?
>
> 45,000 files in one directory! That's a long
> listing...
>
> Normally, you do this switching on FancyIndexing
> (see mod_autoindex)
> then getting the complete listing (sorted
> alphabetically) then clicking
> on "Date" to resort. But with 45k files and a
> timeout that won't work...
>
> If you really have to do it like this, I think you
> might have to hack
> the source code to get the date sorting by default -
> look in
> src/modules/standard/mod_autoindex.c for a start.
>
> rgds,
>
> Owen Boyle.
>
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
>
=====
Jose Julian Buda
WebMaster - www.noticiasargentinas.com
Noticias Argentinas
"So�e con un mundo , un mundo sin Windows..."
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Re: Directory options
Posted by Owen Boyle <ob...@bourse.ch>.
Jose Julian Buda 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 ?
45,000 files in one directory! That's a long listing...
Normally, you do this switching on FancyIndexing (see mod_autoindex)
then getting the complete listing (sorted alphabetically) then clicking
on "Date" to resort. But with 45k files and a timeout that won't work...
If you really have to do it like this, I think you might have to hack
the source code to get the date sorting by default - look in
src/modules/standard/mod_autoindex.c for a start.
rgds,
Owen Boyle.
Re: Directory options
Posted by Owen Boyle <ob...@bourse.ch>.
Hasanuddin Tamir wrote:
> Use IndexOrderDefault directive.
Exactly - much simpler than editing the source code... :-)
Rgds,
owen Boyle.
Re: Directory options
Posted by Jose Julian Buda <ju...@yahoo.com>.
thank you very much
--- Hasanuddin Tamir <ha...@trabas.com> wrote:
> On Tue, 27 Nov 2001, Jose Julian Buda
> <ju...@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
>
>
>
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
>
=====
Jose Julian Buda
WebMaster - www.noticiasargentinas.com
Noticias Argentinas
"So�e con un mundo , un mundo sin Windows..."
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Re: Directory options
Posted by Hasanuddin Tamir <ha...@trabas.com>.
On Tue, 27 Nov 2001, Jose Julian Buda <ju...@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