rendered paste bodyserver:/etc/apache2/sites-enabled# dir
total 0
lrwxrwxrwx 1 root root 39 2005-12-17 15:19 000default -> /etc/apache2/sites-available/000default
lrwxrwxrwx 1 root root 40 2005-12-16 17:36 dazjorz.com -> /etc/apache2/sites-available/dazjorz.com
server:/etc/apache2/sites-enabled# cat 000default
NameVirtualHost *:80
<VirtualHost _default_>
ServerAdmin webmaster@dazjorz.com
DocumentRoot /var/www/default/htdocs
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/default/htdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/default/htdocs
<Directory "/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/www/default/logs/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/www/default/logs/access.log combined
ServerSignature On
</VirtualHost>
server:/etc/apache2/sites-enabled# cat dazjorz.com
# put the domain name for all example.tld's.
NameVirtualHost *:80
<VirtualHost *>
ServerName www.dazjorz.com
ServerAlias dazjorz.com www.dazjorz.com
ServerAdmin hostmaster@dazjorz.com
DocumentRoot /var/www/dazjorz.com/htdocs
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/dazjorz.com/htdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/dazjorz.com/cgi-bin/
<Directory "/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
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/"
# <Directory "/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
# </Directory>
</VirtualHost>