PDA

View Full Version : Need help point subdomain to svn



kannibal
09-07-2009, 11:41 PM
Hi, i have created a svn for each user created in /home/$username/svn/repositories.

I have Customize Httpd.conf for domainname.com and everything works as expected when entering http://domainname.com/svn/repo1

<Location /svn>
DAV svn
SVNParentPath /home/username/svn/repositories
AuthzSVNAccessFile /home/username/svn/etc/authz
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/username/svn/etc/passwd
</Location>


But instead i want to use http://svn.domainname.com/repo1
how can i make a subdomain automaticly when creating a domain and how do i automaticly add the custom httpd.conf settings?

scsi
09-08-2009, 06:01 AM
http://help.directadmin.com/item.php?id=92

kannibal
09-08-2009, 06:15 AM
Nice!
Will try later today. Thanks mate!

/S