Virtual Host Configuration Files
n individual virtual host configuration file specifies the Apache settings for a single virtual host. At its simplest, a virtual host's
conf/httpd.conf looks like this:
<VirtualHost *>
# Specify the docs directory for this virtual host
DocumentRoot /stage/w3serv/vhost.cs.uchicago.edu/docs
ServerName vhost.cs.uchicago.edu
ServerAlias vhost.cs vhost
# Don't allow home directories (/~username) on this virtual host
UserDir disable
</VirtualHost>
but of course many contain more complex directives to produce the needed results.