Red Hat NETWORK PROXY SERVER 3.7 - Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 101
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
30 Configuring Your Secure Web Server
IndexIgnore IndexIgnore lists file extensions, partial filenames, wild-
card expressions or full filenames. The web server will not include
any files which match any of those parameters in server generated
directory listings.
AccessFileName AccessFileName namesthefilewhich the servershould
use for accesscontrol information in each directory. By default, your
web server is set to use .htaccess, if it exists, for access control
information in each directory.
TypesConfig TypesConfig names the file which sets the default list of
mime type mappings (filename extensions to content types). The
default TypesConfig file is /etc/mime.types. Instead of editing
/etc/mime.types, the recommended way of adding mime type
mappings is to use the AddType directive.
DefaultType DefaultType setsadefaultcontent typeforthe web server
to use for documents whose mime types can’t be determined. Your
web server defaults to assume a plain text content type for any file
with an indeterminate content type.
AddEncoding AddEncoding names filename extensions which should
specify a particular encoding type. AddEncoding can also be used
to instruct somebrowsers(not all)to uncompress certain filesasthey
are downloaded.
AddLanguage AddLanguage associates filename extensions with spe-
cific content languages. This directive is mostly useful for content
negotiation, whenthe serverreturnsoneof severaldocuments based
on the client’s language preference as set in their browser.
LanguagePriority LanguagePriority allowsyou tosetprecedencefor
different languages in which to serve files, which will be in effect if
the client expressed no preference.
Redirect Redirect lets you specify the new URL for documents which
have moved from one URL to another. When requests come in for
such a document, the new URL will be returned to the client brower,
which will attempt to retrieveit automatically.
AddType Use the AddType directive to define mime type and file exten-
sion pairs. For example, if you are using mod php, your web server
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 100 101

Kommentare zu diesen Handbüchern

Keine Kommentare