Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Guida di Installazione Pagina 196

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 195
196 Chapter 15. Apache
You cannot use name-based virtual hosts with your secure server because the SSL handshake (when
the browser accepts the secure Web server’s authenticating certificate) occurs before the HTTP
request which identifies the correct name-based virtual host. In other words, authentication occurs
before there is any identification of different name-based virtual hosts. If you want to use virtual hosts
with your secure server, you will need to use IP address-based virtual hosts.
If you are using name-based virtual hosts, uncomment the NameVirtualHost configuration directive
and add the correct IP address for your server after NameVirtualHost. Then add more information
about the different domains using the VirtualHost tags which surround the ServerName for each
virtual host, plus any other configuration directives which are only applicable to that virtual host.
15.3.76. VirtualHost
VirtualHost and /VirtualHost tags surround any configuration directives which are in-
tended to apply to a virtual host. Most configuration directives can be used within virtual host tags,
and then they only apply to that particular virtual host.
A set of commented out VirtualHost tags surround some example configuration directives and
placeholders for the information you would need to fill in to set up a virtual host. Please see Section
15.5, for more information about virtual hosts.
15.3.77. SetEnvIf
The Apache configuration directive SetEnvIf can be used to set environment variables based on
headers in the request. In the supplied httpd.conf file, it is used to disable HTTP keepalive and to
allow SSL to close the connection without a close notify alert from the client browser. This setting is
necessary for certain browsers that do not reliably shut down the SSL connection.
15.3.78. SSL Configuration Directives
The SSL directives in your server’s httpd.conf file are included to enable secure Web communica-
tions using SSL and TLS.
For more information on SSL directives, please point your browser to
http://localhost/manual/mod/mod_ssl/. More information on SSL directives is also available
at http://www.modssl.org/docs/2.8/ssl_reference.html, a chapter in a Web document about
mod_ssl by Ralf Engelschall. The same document, the mod_ssl User Manual, begins at
http://www.modssl.org/docs/2.8/ and is a great reference source for mod_ssl and for Web
cryptography in general.
Note
Do not modify your SSL directives unless you are absolutely sure about what you are doing. In most
cases, the SSL directives are configured appropriately as installed.
Vedere la pagina 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 281 282

Commenti su questo manuale

Nessun commento