Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Virtual Hosts
- #
- # 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.2/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
- <VirtualHost *:80>
- ServerAdmin [email protected]
- DocumentRoot "/usr/local/www/max-cook"
- ServerName www.max-cook.com
- # ServerAlias www.dummy-host.example.com
- ErrorLog "/var/log/max-cook.com-error_log"
- CustomLog "/var/log/max-cook.com-access_log" common
- <Directory "/usr/local/www/max-cook">
- Options Indexes FollowSymlinks MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
- <VirtualHost *:80>
- ServerAdmin [email protected]
- DocumentRoot "/usr/local/www/nixtalks"
- ServerName www.nixtalks.com
- ErrorLog "/var/log/nixtalks.com-error_log"
- CustomLog "/var/log/nixtalks.com-access_log" common
- <Directory "/usr/local/www/nixtalks">
- Options Indexes FollowSymlinks MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement