|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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------------------------------- |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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! |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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: ||||||||||||||||||||||||||||||||||||||||||||||| |
|
![]() |
| Outils de la discussion | |
|
|