[TxMt] svnserve or apache2 on Leopard?

Rob McBroom textmate at skurfer.com
Mon Nov 12 20:23:27 UTC 2007


On Nov 12, 2007, at 2:05 PM, Lewis Overton wrote:

> It would be interesting for us novices to see your Apache setup  
> (1.3 or 2?)

The original question was about setting this up under Leopard.  
Leopard comes with Apache 2 with mod_dav_svn already built, so the  
hard part is already done. You just need to make sure the mod_dav_svn  
and mod_authz_svn modules are getting loaded somewhere in apache's  
config. (I'm not sure if they are by default. Haven't poked around in  
there much.)

> the standard config file

This is pretty basic, but on my Debian server, I keep repositories  
on /usr/local/svn and this makes them available via apache at http:// 
servername/svn/.

     <Location /svn>
       # Enable Subversion
       DAV svn
       # Path to multiple repositories
       SVNParentPath /usr/local/svn
       # Allow anonymous read-only acccess, require auth to commit
       <LimitExcept GET PROPFIND OPTIONS REPORT>
         Require valid-user
       </LimitExcept>
     </Location>

It wouldn't surprise me if Leopard has a similar example config  
somewhere.

I should point out that I only use apache so anonymous people can  
checkout or export from my repositories, so that's all my config  
needs to support. Personally, I do all of my svn operations with svn 
+ssh.

---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.






More information about the textmate mailing list