Virtual Private Server User Guide
The Apache Web Server
HostNameLookups off
Options All
AllowOverride All
Order allow,deny
Allow from all
AllowOverride None
Options None
Order allow,deny
Allow from all
Adds the virtual host to the list of domain names in your /etc/mail/local host
names file. This list specifies which domain names can send and receive e
mail from your VPS server. If a domain name is pointed to your server but is
not listed in this file, you may not be able to send or receive e mail addressed
with that domain name.
If you chose to include a separate cgi bin directory for the vhost's CGI files,
vaddvhost creates a cgi bin directory in the virtual host's home directory. To
make it possible for CGI programs to execute properly from this directory, the
following lines are also added to the Virtual Host entry in your /usr/local/www/
conf/vhosts.conf file:
AllowOverride None
Options None
Order allow,deny
Allow from all
Virtual Host Entries
In the vhosts.conf file, all lines starting with a pound sign (#) are comments, and
are ignored by your virtual server.
Configuration settings contained in a Virtual Host entry apply only when a request
is received for the specified domain. These configuration settings override the
defaults defined in /www/conf/defaults.conf where conflicts occur. A typical Virtual
Host entry contains the following commands, or directives:
Technical Training Department
August 2004
6 16