[Pardus-users] SVN and Apache..

Simon COURTOIS happynoff at free.fr
Mon May 26 15:48:55 EEST 2008


Emre Sururi a écrit :
> Dear All,
>
> I have started using the SVN server and now, would like to be able to 
> access it via http. My adventures in this land are as follows:
> [...]
>
> Now, could somebody kindly walk me through the necessary steps? My 
> repository is in /home/sururi/svn :
> and the htdocs is located in /var/www/localhost/htdocs/
>
>   
Hi,

When I want a repository to be accessed via http, I do it like this:

# edit the concerned vhost file and write something like it
<VirtualHost ip:port>
    ...
    <Location /my_repo>
        DAV svn
        SVNPath /path/to/my/repo
        AuthType Basic
        AuthName "My Great Repository"
        AuthUserFile /path/to/my/passwords/file
        Require valid-user
        AuthzSVNAccessFile /path/to/my/permissions/file
    </Location>
</VirtualHost>

# verify that you have the dav XX_mod_dav.conf in your 
/etc/apache2/modules.d directory
# then restart your apache

# verify the the configured apache user can access to your repository path

I hope it will work for you :)
The user access part comes from my configuration, it's optional...
> ======================================================================
> Bonus Question : is there a GUI or parameter set that enables me to view 
> the changes with somehow merged version of status and log? What I have 
> in mind is something like:
>
> ------------------------------------------------------------------------
> r15 | sururi | 2008-05-26 13:04:19 +0200 (Mon, 26 May 2008) | 2 lines
>
> Corrected some code to properly include the formatted columns in the output
>
>  >>U inference.php
simply use : svn log -v and that's it
try : svn help log to find more options ;)

-- 
Simon COURTOIS
{EPITECH.} tek4 | (LINAGORA) Developer | [ADITAM] Project Manager
10, rue Brillat-Savarin 75013 Paris | 01 45 42 72 30 - 06 72 44 67 81
http://www.happynoff.fr



More information about the Pardus-users mailing list