Geeky party tricks:
- The Doomsday Algorithm[Wikipedia article]: calculate the day of the week for any date instantly.
- Do Cube Roots of 9-digit Numbers in Your Head
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.