Re: Ok, Need some advise on web site mgt.
Inside /etc/apache2/sites-available:
[mike@sixoftwo sites-available]$ cat www.mikevitale.com
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@mikevitale.com
ServerName www.mikevitale.com
ServerAlias mikevitale.com
DocumentRoot /var/www/mikevitale
<Directory />
Options FollowSymLinks +Includes
AllowOverride None
XBitHack On
</Directory>
ServerSignature On
CustomLog /var/log/apache2/mikevitale-access.log combined
ErrorLog /var/log/apache2/mikevitale-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
</VirtualHost>
[mike@sixoftwo sites-available]$ cat www.mavelouswebdesign.com
<VirtualHost *>
ServerAdmin webmaster@mavelouswebdesign.com
ServerName www.mavelouswebdesign.com
ServerAlias mavelouswebdesign.com
DocumentRoot /var/www/mavelous
<Directory />
Options Indexes FollowSymLinks +Includes
AllowOverride None
XBitHack On
</Directory>
ServerSignature On
CustomLog /var/log/apache2/mavelous-access.log combined
ErrorLog /var/log/apache2/mavelous-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
</VirtualHost>
Then, inside /etc/apache2/sites-enabled, create symlinks:
[mike@sixoftwo sites-enabled]$ ls
total 4
lrwxrwxrwx 1 root root 37 2008-03-17 20:19 000-www.mikevitale.com -> ../sites-available/www.mikevitale.com
lrwxrwxrwx 1 root root 44 2008-11-07 21:37 100-www.mavelouswebdesign.com -> ../sites-available/www.mavelouswebdesign.com
-Mike
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania