I'm hosting my website on my own server running OSX 10.6.6. I have the main site up all fine with www2.chrislrobinson.co.uk pointing to my IP address (and hence the /Library/WebServer/Documents/ directory). My blog is located at www2.chrislrobinson.co.uk/blog but I would like to add to access it through blog.chrislrobinson.co.uk. My understanding is that I need to enable virtual hosts but I can't seem to get it to work properly.
So far, I've enabled the virtual host bit in
<VirtualHost *:80> DocumentRoot "Library/WebServer/Documents/blog" ServerName blog.chrislrobinson.co.uk </VirtualHost>
/private/etc/hosts. After restarting apache, not only does blog.chrislrobinson.co.uk not work, but I get the message
Forbidden You don't have permission to access /blog/ on this server.
I'd appreciate any help you guys can give. Thanks Chris