### 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 # # 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 # # DocumentRoot /var/www/html # ServerAdmin ray@caedescontego.net # ServerName _default_:80 # DirectoryIndex index.php index.html index.htm index.shtml # LogLevel debug # HostNameLookups off # # Virtual host caedescontego 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 # Virtual host cultofray DocumentRoot /www/cultofray ServerAdmin ray@cultofray.net ServerName cultofray.net ServerAlias www.cultofray.net DirectoryIndex index.php index.html index.htm index.shtml # # 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. # Options FollowSymLinks AllowOverride None Options Indexes Includes FollowSymLinks AllowOverride None Allow from all Order allow,deny Options Indexes MultiViews AllowOverride None Allow from all Order allow,deny Options ExecCGI AllowOverride None Allow from all Order allow,deny Options Indexes Includes FollowSymLinks AllowOverride None Order allow,deny Allow from all Options Indexes Includes FollowSymLinks AllowOverride None Order allow,deny Allow from all Options Indexes Includes FollowSymLinks AllowOverride None Order allow,deny Allow from all