Red Hat DIRECTORY SERVER 2.0 - GATEWAY Manuale Utente Pagina 38

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 96
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 37
Chapter 6. Handling directories
Several options we will meet rely on a specific module and their use must follow the
LoadModule lin in the configuration file.
LoadModule autoindex_module modules/mod_autoindex.so
Options +Indexes
Figure 6-6. httpd.conf: Loading and enabling autoindex_module
And now, if we ask for the / URL we get the list of the single file (index.html) that
appears in the top-level directory.
Figure 6-7. The top-level listing
By default, the index produced is a very simple one (an itemized list in HTML). The
module provides a command, IndexOptions, which allows us to present a bit more
information about the files.
To see it in operation we will add a simple IndexOptions command to our configu-
ration file to turn on “fancy indexing”.
IndexOptions FancyIndexing
Figure 6-8. httpd.conf: Turning on fancy indexing
Now when we ask for the / URL we get a different format of output.
34
Vedere la pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 95 96

Commenti su questo manuale

Nessun commento