[bglug] apache + indexes
./SuperbepS
bglug@lists.linux.it
Wed, 22 Jan 2003 11:18:00 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In data astrale 11:02, mercoledì 22 gennaio 2003, l'ammiraglio della flotta
stellare Nicola Benaglia scrisse:
> Io vorrei che la lista dei file venisse ordinata in base alla data di
> ultima modifica.
> Ho cercato nel manuale, ma finora non ho risolto niente.
Hai cercato un po' maluccio direi...
Per apache 1.3
http://httpd.apache.org/docs/mod/mod_autoindex.html
Per apache 2
http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html
ecco un estratto:
If the URL http://your.server.name/foo/ produces a directory index, then the
following URLs will produce different sort orders:
http://your.server.name/foo/?M=D sorts the directory by last modified date,
descending.
http://your.server.name/foo/?D=A sorts the directory by file description,
ascending.
http://your.server.name/foo/?S=A sorts the directory by file size, ascending.
See IndexOrderDefault to set the default directory ordering.
- --
Ciao ???
___________________________________________________________
Picard: "Captain's Log, Stardate 45236.4 As I study the intelligence reports
and Ambassador Spock's disappearance, I cannot help but feel a *deeper*, more
personal concern about his mission. For I know this man, through his father.
It was barely a year ago that I shared a mind meld with the Vulcan Sarek. Now
we must meet again, as I attempt to find an explanation for his son's
actions."
- -- "Unification, Part I", Stardate 45233.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+Lm/YcKEJStHWD7URAvKiAJ0T3WEQkCPV3szJi/pKuCuWfDBk2QCdFm0E
Rks2k4Ibbo1YfkS53ADgMnQ=
=a3Kj
-----END PGP SIGNATURE-----