Red Hat DIRECTORY SERVER 2.0 - GATEWAY Manuel d'utilisateur Page 48

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 96
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 47
Chapter 6. Handling directories
AddIcon /icons/dir.gif "^^DIRECTORY^^"
AddIcon /icons/back.gif ".."
AddAlt "Directory" "^^DIRECTORY^^"
AddAlt "Up" ".."
Figure 6-25. httpd.conf: Support for directories
There is one last change we should make after all this playing with icons. An icon
is an embedded image. It is generally regarded as a “good thing” to annotate the
<IMG/> tag with the height and width of the image in pixels. We can specify these
with the IndexOptions options IconWidth and IconHeight. These cause the web
server to include width="20" height="22" in the <IMG/> tag’s attributes. These
numbers are wired into Apache and correspond to the icons it ships with, all of which
are 20
22 pixels in size.
IndexOptions FancyIndexing ... IconWidth IconHeight
Figure 6-26. httpd.conf: Specifying icon sizes
Conclusion
And now our listings look a bit more colourful. But this is a lot of effort for limited
presentational value.
Figure 6-27. Listing with icons
Adding text to the listing
In addition to having a listing of files, it is possible to place text above and below
the listing. This can either be in the form of plain text or full-blown HTML. We will
concentrate on the latter.
44
Vue de la page 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 95 96

Commentaires sur ces manuels

Pas de commentaire