Red Hat DIRECTORY SERVER 2.0 - GATEWAY Manual do Utilizador Página 86

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 96
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 85
Chapter 11. Conclusion
# Put a header file above the listing
HeaderName HEADER.html
# Set up aliasing
Alias /icons/ /var/www/icons/
# Set up icons
AddIconByType /icons/layout.gif text/html
AddIconByType /icons/text.gif text/plain
AddIconByType /icons/generic.gif text/*
AddIconByType /icons/image2.gif image/*
AddIconByType /icons/sound1.gif audio/*
AddIconByType /icons/movie.gif video/*
AddIconByType /icons/ps.gif application/postscript
AddIconByType /icons/pdf.gif application/pdf
DefaultIcon /icons/ball.gray.gif
AddAltByType "HTML file" text/html
AddAltByType "Plain text" text/plain
AddAltByType "Text" text/*
AddAltByType "Static image" image/*
AddAltByType "Audio" audio/*
AddAltByType "Video" video/*
AddAltByType "PostScript" application/postscript
AddAltByType "PDF" application/pdf
AddIcon /icons/dir.gif "^^DIRECTORY^^"
AddIcon /icons/back.gif ".."
AddAlt "Directory" "^^DIRECTORY^^"
AddAlt "Up" ".."
# Suppress backup and working files from indexes
IndexIgnore "#*#" "*~" "configuration"
# Delegate control via "configuration" files
AccessFileName "configuration"
<FilesMatch (^#.*#$|.*~$|^configuration$)>
Order allow,deny
Deny from All
</FilesMatch>
# Set the error logging level to "info": informational messages.
LogLevel info
# Specify the error log file.
ErrorLog /var/log/httpd/error.log
# Set up access logging
# Split the log files between the two virtual hosts
# Define the Common Log Format for both of them
LogFormat "%h %l %u %t \"%r\" %>s %b" clf
# We want hosts’ names rather than addresss in the logs
HostnameLookups On
# Users’ own web pages
UserDir public_html
# Set up name-based virtual hosting on all interfaces.
82
Vista de página 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 95 96

Comentários a estes Manuais

Sem comentários