Subversion VHOST?

WildFoxMedia

New Member
After reading a thread on the forum and a couple other places out on the web about installing Subversion I got it installed just fine.

My question is this - How do I access it via the web? (I installed Web Dav so im good there) I would like to set it up as a subdomain of my primary VPS domain which I was going to do in the httpd.conf however, theres alot of stuff in there that says the file is regenerated by cPanel anytime a domain, subdomain, etc. is added.

If my domain is MyDomain.Com and I have current subdomains created from within cPanel how can I add svn.MyDomain.Com as a subdomain that routes to my Subversion setup?

My /etc/httpd/conf.d/subversion.conf looks like...


<Location /repos>
DAV svn
SVNParentPath /home/svn

# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL

# AuthType Basic
# AuthName "Authorization Realm"
# AuthUserFile /path/to/passwdfile
# Require valid-user
# </LimitExcept>
#</Location>

Thanks
 
Either add a subdomain in cPanel or roll your own config into one of the various hook files httpd.conf includes; probably post_virtualhost_global.conf. You'll assume responsibility for configuring BIND as well if you opt for the latter.
 
Top