Virtual Hosts Settings - Red Hat ENTERPRISE LINUX 4 System Administration Manual

Hide thumbs Also See for ENTERPRISE LINUX 4:
Table of Contents

Advertisement

Figure 24.7. Directory Settings
If you check the Let .htaccess files override directory options, the configuration directives in the
.htaccess file take precedence.

24.3. Virtual Hosts Settings

Virtual hosts allow you to run different servers for different IP addresses, different host names,
or different ports on the same machine. For example, you can run the website for http://
www.example.com and http://www.anotherexample.com on the same Web server using virtual hosts.
This option corresponds to the
virtual hosts. It corresponds to the
The directives set for a virtual host only apply to that particular virtual host. If a directive is set server-
wide using the Edit Default Settings button and not defined within the virtual host settings, the default
setting is used. For example, you can define a Webmaster email address in the Main tab and not
define individual email addresses for each virtual host.
The HTTP Configuration Tool includes a default virtual host as shown in
20
http://httpd.apache.org/docs-2.0/mod/core.html#virtualhost
21
http://httpd.apache.org/docs-2.0/mod/core.html#namevirtualhost
20
<VirtualHost>
directive for the default virtual host and IP based
<NameVirtualHost>
21
directive for a name based virtual host.
Figure 24.8, "Virtual
Virtual Hosts Settings
Hosts".
243

Advertisement

Table of Contents
loading

Table of Contents