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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 96
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 42
Chapter 6. Handling directories
scription of the file if it would push the row beyond this point and indicates the trun-
cation with a “>”. There are two indexing options which can be used to alleviate this
behaviour, NameWidth and DescriptionWidth. Each of these can be used to specify
an absolute character width of the column or can be used to instruct the server to
determine the longest item in the list and adjust accordingly. We will use this second
approach.
IndexOptions FancyIndexing ... NameWidth=* DescriptionWidth=* ...
Figure 6-16. httpd.conf: Auto-adjusting the column widths
Figure 6-17. A very wide description column
Manipulating rows
The first thing we will do is to suppress certain rows from the listing. Why would we
want to do this? Well, suppose the web developers edit their files in place (i.e. in the
directory managed by the web server) with an editor (emacs, say) that while editing
a file (delta.html, say) creates work files (#delta.html#) while it is running and
leaves behind backup files (delta.html~) when it is finished. We don’t want these
files appearing in the listings.
39
Vista de pagina 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 95 96

Comentarios a estos manuales

Sin comentarios