Friday, September 30, 2005

Virtual Hosting

I finally added the following to Apache's srm.conf
NameVirtualHost *

<VirtualHost *>
ServerName wingchun.stanford.edu
DocumentRoot /var/www/wingchun
</VirtualHost>

<VirtualHost *>
ServerName rooster.stanford.edu
DocumentRoot /var/www
</VirtualHost>
so now rooster.stanford.edu and wingchun.stanford.edu look like different sites. However, for reasons I don't understand yet, in order to get SSL working on my whole site, I had to add an extra DocumentRoot directive to the VirtualHost _default_:443 section needed by mod_ssl.

I reinstalled the mod_dav Apache module, this time to play with some calendar and bookmark applications. I used to have it running a long time ago (see Netcraft's history of this site).

Recently I've been exploring a frequently-changing list of interesting bookmarks, containing (among other things) links to ephemerally popular pages like how to turn your hamster into a fighting machine.