Virtual Hosts with Apache
I've done this whole thing before, but it was so long ago that I forget exactly how it goes.
NameVirutalHost wool-cat.ath.cx:80
<VirtualHost wool-cat.ath.cx:80>
ServerName video.wool-cat.ath.cx
DocumentRoot "/mnt/windows/Dan/Video"
<Directory "/mnt/windows/Dan/Video">
AllowOverride All
Options All
</Directory>
</VirtualHost>
I'm trying to create "video.wool-cat.ath.cx" that points to /mnt/windows/Dan/Video but when I enter "wool-cat.ath.cx" into the browser, it brings up my video directory, instead of the document root specified earlier in the config file. "video.wool-cat.ath.cx" is not found by the browser.
Help before I go insane.
Thanks.
|