### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
# Where do we put the lock and pif files?
LockFile "/var/lock/httpd.lock"
CoreDumpDirectory "/etc/httpd"
# Defaults for virtual hosts
# Logs
#
# Virtual hosts
#
# Virtual host Default Virtual Host
#<VirtualHost _default_:80>
# DocumentRoot /var/www/html
# ServerAdmin ray@caedescontego.net
# ServerName _default_:80
# DirectoryIndex index.php index.html index.htm index.shtml
# LogLevel debug
# HostNameLookups off
#</VirtualHost>
# Virtual host caedescontego
<VirtualHost *:80>
DocumentRoot /www/caedescontego
ServerAdmin ray@caedescontego.net
ServerName caedescontego.net
ServerAlias www.caedescontego.net
DirectoryIndex index.php index.html index.htm index.shtml
UserDir /home/*/public-htroot
</VirtualHost>
# Virtual host cultofray
<VirtualHost *:80>
DocumentRoot /www/cultofray
ServerAdmin ray@cultofray.net
ServerName cultofray.net
ServerAlias www.cultofray.net
DirectoryIndex index.php index.html index.htm index.shtml
</VirtualHost>
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
<Directory "/">
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/cgi-bin">
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/www/caedescontego">
Options Indexes Includes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/www/cultofray">
Options Indexes Includes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/home">
Options Indexes Includes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>