Red Hat NETWORK PROXY SERVER 3.7 - Manuale Utente Pagina 41

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 101
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 40
2.3 srm.conf 31
is using the AddType directive to make your web server recognize
files with PHP extensions (.php3 .phps .phtml) as PHP mime
types.
AddHandler AddHandler maps file extensions to specific handlers. For
example, the cgi-script handler can be used matched with the
extension .cgi to automatically treat a file ending with .cgi as a
CGI script. Your web server uses AddHandler to process server-
parsed HTML and imagemap files.
Action Action allows you to specify a mime type and CGI script pair,
so that whenever a file of that media type is requested, a particular
CGI script will be executed.
MetaDir MetaDir specifiesthenameofadirectorywhereyourwebserver
should look forfiles containing meta information (extraHTTP head-
ers) to include when serving documents.
MetaSuffix MetaSuffix specifies the filename suffix for the file that
contains meta information (extra HTTP headers), which should be
located in the MetaDir directory.
ErrorDocument By default, in the event of a problem or error, your web
server outputs a simple (and sometimes cryptic) error message back
totheclient. Insteadofusingthedefault,youcanuseErrorDocument
toconfigureyourwebserversothatit outputs acustomizedmessage
or redirects to a local or external URL. ErrorDocument simply as-
sociates a HTTP response code with a message or a URL which will
be sent back to the client.
MimeMagicFile MimeMagicFile examines a few bytes of a file’s con-
tents, in order to determine its mime type. If you want to enable the
MimeMagicFile directive, you’ll also need to load in the
mime magic module. See section 2.5 on page 34 for instructions on
how to load in a module to your web server.
BrowserMatch The BrowserMatch directive allows your server to de-
fine environment variables and/or take appropriate actions based
on the User-Agent HTTP header field, which identifies the client’s
browser. By default, your web server uses BrowserMatch to deny
connections to specific browsers with known problems and also to
Vedere la pagina 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 100 101

Commenti su questo manuale

Nessun commento