Subversion over HTTP: Great looking.

By this I’ve been enroll in implementing a Version-Control System and not just configuring it but learning/teaching how it works. So I’d like to share with you all how to simply install a Subversion service going through HTTP. Follow those steps and you’ll be done in about five minutes.

Let’s do something more interesting, let’s add some style to or web look of the repository with RepoStyle and change:

Download the package unzip it in your DocumentRoot then edit the subversion.conf with the path of it and you are done.

<Location /repositorio >
DAV svn SVNPath /path/to/repo
SVNIndexXSLT "/repos-web/view/repos.xsl"
AuthType Basic AuthName "Control de Versiones"
AuthUserFile /etc/httpd/conf.d/svn_users
Require valid-user
</Location >

Don’t forget to RTFM before starting to change things 😉

If you have any question or doubt I’ll be glad to help you.

Update 25/03/2010: If you want to auth Apache against AD you need to check this out.

Summary: Edit /etc/httpd/conf.d/authz_ldap.conf and add something like this:

< Location /repositorio>
Order deny,allow
Allow from all
AuthBasicProvider ldap
AuthzLDAPAuthoritative Off
AuthLDAPURL "ldap://activedirectory-server:389/OU=Nicaragua,DC=domain,DC=com?sAMAccountName?sub?(objectClass=*)"
AuthLDAPBindDN "CN=User Name,OU=IT Department,OU=Nicaragua,DC=domain,DC=com"
AuthLDAPBindPassword "password"
AuthType Basic
AuthName "Protected"
require valid-user
< /Location >

Then comment the following lines in subversion.conf

<Location /repositorio >
DAV svn SVNPath /path/to/repo
SVNIndexXSLT "/repos-web/view/repos.xsl"
#AuthType Basic AuthName "Control de Versiones"
#AuthUserFile /etc/httpd/conf.d/svn_users
#Require valid-user
</Location >

Give a try and hit me back.

Tagged , ,

4 thoughts on “Subversion over HTTP: Great looking.

  1. nicol says:

    Hola.

    Antes de nada, perdona que te escriba esto como un comentario, pero es que no vi tu email en el tu blog

    Soy el webmaster de publizida.es

    Publizida BLOG'S es un ranking / directorio de clasificación de blogs en español, creado con el único propósito de dar a conocer los mejores blog's

    Registrando su blog en Publizida BLOG'S accederás al servicio de estadísticas gratuitas y podrás participar en el TOP.RANKING

    También puedes acceder a la valoración que los usuarios hacen de su página.

    Y lo mas importante…

    darte a conocer y aumentar el numero de visitantes a tu BLOG de manera totalmente gratuita.

    Si te interesa puedes darte de alta

    ALTA DIRECTORIO DE BLOGS

    o visitanos en ……

    DIRECTORIO DE BLOGS

    http://PUBLIZIDA.ES

    Muchas Gracias por tu tiempo… y disculpa si no fue la mejor manera de darme a conocer.

    Un saludo.

    DAVID T.

    Webmaster de Publizida.es

  2. David TTT says:

    "Soy el webmaster del Directorio Wandaloop, donde si lo deseas puedes incluir tu blog completamente GRATIS.
    Directorio Wandaloop"

Leave a Reply

Your email address will not be published. Required fields are marked *