PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > ?: Directory listing
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

?: Directory listing

Réponse
 
LinkBack Outils de la discussion
Vieux 14/02/2007, 07h18   #1
PTM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ?: Directory listing

PTM: When I make a directory listing to a web page, there is this
'Description' column. So far I have not found a way to use it. The
documentation, I have not found, doesn't give any information about it.
The thing is that I have never seen a page, where this 'Description' is
in use. So, it might be that nobody else has understood anything about
the documentation they have found.

Is there somewhere good examples or about this.

Here is one example:
http://ptm2.cc.utu.fi/ftp/network/cards/Homeline/

If I look in the source of this page, I see lines generated by Apache.
In my little head I have an idea, that it could read the information for
'Descrition' from some kind of indexed table I could write myself.


----------------------SOURCE------------------------------
<PRE><IMG SRC="/icons/blank.gif" ALT=" "> <A HREF="?N=D">Name</A>
<A HREF="?M=A">Last modified</A> <A
HREF="?S=A">Size</A> <A HREF="?D=A">Description</A>
<HR>
<IMG SRC="/icons/back.gif" ALT="[DIR]"> <A
HREF="/ftp/network/cards/">Parent Directory</A> 10-Jan-2007 12:30
-
<IMG SRC="/icons/compressed.gif" ALT="[ ]"> <A
HREF="HLW-PCC200_03d0604.zip">HLW-PCC200_03d0604.zip</A> 22-Sep-2005
19:04 3.2M
</PRE><HR>
-----------------------SOURCE-------------------------------

  Réponse avec citation
Vieux 14/02/2007, 07h56   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ?: Directory listing

On 2007-02-14, PTM <ptmusta@utu.fi> wrote:
> PTM: When I make a directory listing to a web page, there is this
> 'Description' column. So far I have not found a way to use it. The
> documentation, I have not found, doesn't give any information about it.


You mean you didn't found the 'AddDescription' directive in the
documentation? Is right there.

Davide

--
If you can read this your hard drive is about this rooted!
  Réponse avec citation
Vieux 14/02/2007, 09h08   #3
cyrusthevirus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ?: Directory listing

On 14/02/2007 08:56, Davide Bianchi dixit:
> On 2007-02-14, PTM <ptmusta@utu.fi> wrote:
>> PTM: When I make a directory listing to a web page, there is this
>> 'Description' column. So far I have not found a way to use it. The
>> documentation, I have not found, doesn't give any information about it.


> You mean you didn't found the 'AddDescription' directive in the
> documentation? Is right there.


Beyond AddDescription there is also another way to use the description
field.
When I was still stuck to a modem I stored useful web pages in the
/var/www/htdocs/docs directory, to consult them offline.
Of course to have long lists of file names (often with /odd/ names) made
document retrieval a PITA.
So I made this configuration, to have the HTML titles in the description
field and the folders at the top of the list.
The IndexIgnore *_files directive is to get rid of the
"samepagename_files" folders containing images etc. created by Firefox.


<Directory "/var/www/htdocs/docs">
IndexOptions +FoldersFirst +ScanHTMLTitles +DescriptionWidth=*
-IgnoreCase
IndexIgnore *_files
</Directory>


This configuration applies to every htdocs/docs subdirectory, too.
The resulting page is something like:

[DIR] GiordanoBruno/
04-Oct-2005 02:29 -
[DIR] KANT/
18-Nov-2005 23:03 -
[DIR] TURING/
18-Nov-2005 23:03 -
[TXT] 65repressivetolerance.htm 27-Jun-2005 20:11 75k Repressive
Tolerance, by Herbert Marcuse (1965)
[TXT] 67EndUtopiaProbViol.htm 27-Jun-2005 20:12 130k Herbert
Marcuse, Das Ende der Utopie (1967)
[TXT] 67LibFromAfflSociety.htm 27-Jun-2005 20:11 40k Introduction
David Cooper 7 The Obvious R
[IMG] BkOneDimDtBig400pxh.jpg 27-Jun-2005 20:05 40k
[TXT] TheEinstein-Podolsky-RosenArgumentInQuantumTheory.html
11-Jun-2005 18:18 67k The Einstein-Podolsky-Rosen Argument in
Quantum Theory
[TXT] atheist_agnostic.html 12-Jun-2005 00:30 8k Bertrand
Russell: Am I An Atheist Or An Agnostic?
[TXT] eras.moriae.html
26-Jul-2005 23:26 179k Eramus: The Praise of Folly

Of course you must rely on the quality of the web pages titles: I have a
special voodoo doll deserved to "untitled page" authors.

HTH

Cyrus (the /bookworm/ virus)

--
I love to be mailed just by smart people:
perl -we 'print "\12\142\145\162\156\141\155\141\100\151".
"\164\167\145\142\56\151\164\12\12";'
Spammers scratch here with a diamond to find my address:
|||||||||||||||||||||||||||||||||||||||||||||||
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h15.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10781 seconds with 11 queries