945a9b081610f2b57759231e4cfad7aed62c9326slive# Virtual Hosts
945a9b081610f2b57759231e4cfad7aed62c9326slive#
f422fa04a2aba00b03b72685702c9ffa87c873adrjung# Required modules: mod_log_config
f422fa04a2aba00b03b72685702c9ffa87c873adrjung
945a9b081610f2b57759231e4cfad7aed62c9326slive# If you want to maintain multiple domains/hostnames on your
945a9b081610f2b57759231e4cfad7aed62c9326slive# machine you can setup VirtualHost containers for them. Most configurations
945a9b081610f2b57759231e4cfad7aed62c9326slive# use only name-based virtual hosts so the server doesn't need to worry about
945a9b081610f2b57759231e4cfad7aed62c9326slive# IP addresses. This is indicated by the asterisks in the directives below.
945a9b081610f2b57759231e4cfad7aed62c9326slive#
945a9b081610f2b57759231e4cfad7aed62c9326slive# Please see the documentation at
b51bf223f42d43ca6b1b33c95124edcfa5a871a4nd# <URL:http://httpd.apache.org/docs/trunk/vhosts/>
945a9b081610f2b57759231e4cfad7aed62c9326slive# for further details before you try to setup virtual hosts.
945a9b081610f2b57759231e4cfad7aed62c9326slive#
945a9b081610f2b57759231e4cfad7aed62c9326slive# You may use the command line option '-S' to verify your virtual host
945a9b081610f2b57759231e4cfad7aed62c9326slive# configuration.
945a9b081610f2b57759231e4cfad7aed62c9326slive
945a9b081610f2b57759231e4cfad7aed62c9326slive#
945a9b081610f2b57759231e4cfad7aed62c9326slive# VirtualHost example:
945a9b081610f2b57759231e4cfad7aed62c9326slive# Almost any Apache directive may go into a VirtualHost container.
945a9b081610f2b57759231e4cfad7aed62c9326slive# The first VirtualHost section is used for all requests that do not
945a9b081610f2b57759231e4cfad7aed62c9326slive# match a ServerName or ServerAlias in any <VirtualHost> block.
945a9b081610f2b57759231e4cfad7aed62c9326slive#
3172448ec5c571e38ec60a3a815d15bc92d3ebddwrowe<VirtualHost *:@@Port@@>
945a9b081610f2b57759231e4cfad7aed62c9326slive ServerAdmin webmaster@dummy-host.example.com
c46196ce9382374d19dd1c631a38d4f5db5d967bsctemme DocumentRoot "@@ServerRoot@@/docs/dummy-host.example.com"
945a9b081610f2b57759231e4cfad7aed62c9326slive ServerName dummy-host.example.com
945a9b081610f2b57759231e4cfad7aed62c9326slive ServerAlias www.dummy-host.example.com
c46196ce9382374d19dd1c631a38d4f5db5d967bsctemme ErrorLog "@rel_logfiledir@/dummy-host.example.com-error_log"
c46196ce9382374d19dd1c631a38d4f5db5d967bsctemme CustomLog "@rel_logfiledir@/dummy-host.example.com-access_log" common
945a9b081610f2b57759231e4cfad7aed62c9326slive</VirtualHost>
945a9b081610f2b57759231e4cfad7aed62c9326slive
3172448ec5c571e38ec60a3a815d15bc92d3ebddwrowe<VirtualHost *:@@Port@@>
945a9b081610f2b57759231e4cfad7aed62c9326slive ServerAdmin webmaster@dummy-host2.example.com
c46196ce9382374d19dd1c631a38d4f5db5d967bsctemme DocumentRoot "@@ServerRoot@@/docs/dummy-host2.example.com"
945a9b081610f2b57759231e4cfad7aed62c9326slive ServerName dummy-host2.example.com
c46196ce9382374d19dd1c631a38d4f5db5d967bsctemme ErrorLog "@rel_logfiledir@/dummy-host2.example.com-error_log"
c46196ce9382374d19dd1c631a38d4f5db5d967bsctemme CustomLog "@rel_logfiledir@/dummy-host2.example.com-access_log" common
945a9b081610f2b57759231e4cfad7aed62c9326slive</VirtualHost>
945a9b081610f2b57759231e4cfad7aed62c9326slive
945a9b081610f2b57759231e4cfad7aed62c9326slive
945a9b081610f2b57759231e4cfad7aed62c9326slive