[ADVANCED] - Browsing the SVN Server files using ISPConfig

Discussion in 'Installation/Configuration' started by vaio1, Jun 29, 2008.

  1. vaio1

    vaio1 Member

    Hi All,

    I have followed the SVN manual for installing the SVN Server and I have successful installed the svn server. Now when I have to enable the browsing of the files, I have to write these lines of code in the httpd.conf file:

    Code:
    <VirtualHost 000.000.000.000:80>
      ServerName svn.mydomain.com
      <Location />
            DAV svn
            SVNPath /home/svn_repositories/myrepos
    
    	 # our access control policy
    	 AuthzSVNAccessFile /etc/subversion/my_policy
    
            Require valid-user
            
            AuthType Basic
            AuthName "My Projects"
            AuthUserFile /etc/subversion/passwd
            
      </Location>
    </VirtualHost>
    If I write the above mentioned rows the sharedip page is not executed.

    How can I write that commands and settings in the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf ?

    Do I have to create first of all the co-domain? and then?

    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to add the following part in the apache directives field of a website:

    <Location />
    DAV svn
    SVNPath /home/svn_repositories/myrepos

    # our access control policy
    AuthzSVNAccessFile /etc/subversion/my_policy

    Require valid-user

    AuthType Basic
    AuthName "My Projects"
    AuthUserFile /etc/subversion/passwd

    </Location>
     
  3. vaio1

    vaio1 Member

    Hi Till,

    the directive : ServerName svn.mydomain.com is not mandatory?

    Have I create a co-domain for it?

    thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This directive is set by ISPConfig.

    Create a new website with:

    host: svn
    domain: mydomain.com
     
  5. vaio1

    vaio1 Member

    Hi again,

    can be a subdomain of a main site?

    thanks
     
    Last edited: Jun 30, 2008
  6. falko

    falko Super Moderator Howtoforge Staff

    No, it must be a web site of its own.
     

Share This Page