View Single Post
  #7  
Old 6th February 2009, 04:18
progkix progkix is offline
HowtoForge Supporter
 
Join Date: May 2008
Location: Indianapolis, IN
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to progkix Send a message via AIM to progkix Send a message via MSN to progkix Send a message via Yahoo to progkix Send a message via Skype™ to progkix
Default

# main site
<VirtualHost *:80>
ServerName www.sdps-bbs.com
DocumentRoot /var/www/html
ServerAdmin webmaster@sdps-bbs.com
</VirtualHost>

# virtual host test
<VirtualHost *:80>
ServerName www.virt.sdps-bbs.com
DocumentRoot /var/www/virt
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/virt-error_log
TransferLog logs/virt-access_log
</VirtualHost>

# social application test
<VirtualHost *:80>
ServerName www.cyberfun.sdps-bbs.com
DocumentRoot /var/www/elgg
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/elgg-error_log
TransferLog logs/elgg-access_log
<Directory /var/www/elgg>
AllowOverride All
</Directory>
</VirtualHost>

# four sisters web site
<VirtualHost *:80>
ServerName www.foursisters.sdps-bbs.com
DocumentRoot /var/www/yarbro
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/yarbro-error_log
TransferLog logs/yarbro-access_log
</VirtualHost>

# internet radio broadcasting
<VirtualHost *:80>
ServerName www.radio.sdps-bbs.com
DocumentRoot /var/www/radio
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/radio-error_log
TransferLog logs/radio-access_log
</VirtualHost>

# webdav
<VirtualHost *:80>
DocumentRoot /var/www/web/dav/
ServerAdmin webmaster@sdps-bbs.com
<Directory /var/www/web/dav/>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /webdav /var/www/web/dav

<Location /webdav/>
DAV On
AuthType Basic
AuthName "WebDAV Restricted"
AuthUserFile /var/www/web/passwd.dav
Require valid-user
</Location>
</VirtualHost>
Reply With Quote