Web server tutorial - Part 2
AddDescription: Allows you to place a short description after a file in server-generated
indexes. These are only displayed for FancyIndexed directories.
Format: AddDescription "description" filename
AddDescription "GZIP compressed document" .gz
AddDescription "tar archive" .tar
AddDescription "GZIP compressed tar archive" .tgz
ReadmeName: The name of the README file the server will look for by default,
and append to directory listings.
HeaderName: the name of a file, which should be prepended to directory indexes.
The server will first look for name.html and include it if found. If name.html
doesn't exist, the server will then look for name.txt and include it as plaintext
if found.
ReadmeName README
HeaderName HEADER
IndexIgnore: A set of filenames which directory indexing should ignore and not
include in the listing. Shell-style wildcarding is permitted.
IndexIgnore .??* *~ * HEADER* README* RCS CVS *,v *,t
AddEncoding: Allows you to have certain browsers (Mosaic/X 2.1+) uncompress
information on the fly.
Note: Not all browsers support this. Despite the name
similarity, the following Add* directives have nothing to do with the FancyIndexing
customization directives above.
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage: Allows you to specify the language of a document. You can then
use content negotiation to give a browser a file in a language it can understand.
Note that the suffix does not have to be the same as the language keyword ---
those with documents in Polish (whose net-standard language code is pl) may
wish to use "AddLanguage pl .po" to avoid the ambiguity with the common
suffix for perl scripts.
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddLanguage da .da
AddLanguage el .el
AddLanguage it .it
LanguagePriority: Allows you to give precedence to some languages in case of
a tie during content negotiation.
Just list the languages in decreasing order of preference.
LanguagePriority en fr de
AddType: Allows you to tweak mime.types without actually editing it, or to
- « first
- ‹ previous
- of 10
- next ›
- last »