server:/etc/apache2/sites-enabled# dir
total 0
lrwxrwxrwx 1 root root 40 2005-12-15 20:54 dazjorz.com -> /etc/apache2/sites-available/dazjorz.com
lrwxrwxrwx 1 root root 36 2005-12-15 21:06 default -> /etc/apache2/sites-available/default
server:/etc/apache2/sites-enabled# cat default
NameVirtualHost *:80
ServerAdmin webmaster@dazjorz.com
DocumentRoot /var/www/
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# REMOVED!
#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
# Alias /doc/ "/usr/share/doc/"
#
# Options Indexes MultiViews FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/255.0.0.0 ::1/128
#
server:/etc/apache2/sites-enabled# cat dazjorz.com
# put the domain name for all example.tld's.
NameVirtualHost dazjorz.com:80
ServerName dazjorz.com
ServerAdmin webmaster@dazjorz.com
DocumentRoot /var/www/dazjorz.com/htdocs
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /var/www/dazjorz.com/cgi-bin/
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog /var/www/dazjorz.com/logs/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/www/dazjorz.com/logs/access.log combined
ServerSignature On
# Alias /doc/ "/usr/share/doc/"
#
# Options Indexes MultiViews FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/255.0.0.0 ::1/128
#