Installation guide

Chapter 13. Apache Configuration 127
Full IP address — Allow access to a specific IP address.
A subnet — Such as 192.168.1.0/255.255.255.0
A network CIDR specification — such as 10.3.0.0/16
Figure 13-7. Directory Settings
If you check the Let .htaccess files override directory options, the configuration directives
in the .htaccess file take precedence.
13.3. Virtual Hosts Settings
You can use the Apache Configuration Tool to configure virtual hosts. 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.your_domain.com and http://www.your_second_domain.com on the same
Apache server using virtual hosts. This option corresponds to the
VirtualHost
directive for the default virtual host and IP based virtual hosts. It corresponds to the
NameVirtualHost directive for a name based virtual host.
The Apache directives set for a virtual host only apply to that particular virtual host. If a di-
rective 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.
Apache Configuration Tool includes a default virtual host as shown in Figure 13-8. Refer to
Section 13.3.1.1.1 for details about the default virtual host.