[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hosting multiple subdomains with a common SVNParentPath under apache

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 10 Mar 2011 20:33:13 -0600

On Mar 10, 2011, at 20:19, Daniel F. Garcia wrote:

>> 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.

Hmm. PHP sessions are by default stored in files, or you can use any number of other session handlers including database. I would think neither of those would go away with an Apache restart, but testing it is a good idea.

> 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.

Google is running a highly-customized version of Subversion anyway. They even wrote a custom backend repository storage layer.
Received on 2011-03-11 03:33:44 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.