> The only way I know to accomplish the functionality you want is to define > each subdomain as its own VirtualHost, either manually or via a script you > write. > You will have to restart Apache when making changes, though a graceful > restart shouldn't impact you too much.
My apache server runs other things, and I'm worried I'll lose php session state in the restart. I'll test it and see what happens. Last night I had a go at modifying mod_dav_svn to do what I want, but my changes weren't working very well. Google code use a similar structure. For example the yii code is under http://yii.googlecode.com/svn. If I had to guess I'd say they are probably using a layer 4-7 switch or something. Daniel.