Red Hat DIRECTORY SERVER 2.0 - GATEWAY Manual de usuario Pagina 38

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 96
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 95 96

Comentarios a estos manuales

Sin comentarios