Red Hat LINUX 7.2 Reference Manual page 214

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

214
You cannot use name-based virtual hosts with your secure server. Any name-
based virtual hosts you set up will only work with non-secure HTTP connec-
tions and not with SSL connections.
You cannot use name-based virtual hosts with your secure server because
the SSL handshake (when the browser accepts the secure Web server's au-
thenticating certificate) occurs before the HTTP request which identifies the
correct name-based virtual host. In other words, authentication occurs be-
fore 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 ad-
dress-based virtual hosts.
If you are using name-based virtual hosts, uncomment the NameVirtualHost configuration direc-
tive and add the correct IP address for your server after NameVirtualHost. Then add more infor-
mation 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.
13.3.76 VirtualHost
<VirtualHost> and </VirtualHost> tags surround any configuration directives which are
intended 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
13.5, Using Virtual Hosts, for more information about virtual hosts.
13.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.
13.3.78 SSL Configuration Directives
The SSL directives in your server's httpd.conf file are included to enable secure Web communi-
cations using SSL and TLS.
Note
Chapter 13:Apache

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents