[Pardus-users] SVN and Apache..
etasci at fisek.com.tr
Mon May 26 16:17:21 EEST 2008
Simon COURTOIS wrote On 05/26/2008 02:48 PM:
> 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
and before that
sururi at dutsm0175 ~ $ /usr/sbin/htpasswd2 -cm passwords /home/sururi/emre
Re-type new password:
Adding password for user emre
> # verify that you have the dav XX_mod_dav.conf in your
> /etc/apache2/modules.d directory
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
> # then restart your apache
> # verify the the configured apache user can access to your repository path
> I hope it will work for you :)
sururi at dutsm0175$ svn checkout http://etasci@localhost/svn/project
svn: PROPFIND request failed on '/svn/project'
svn: PROPFIND of '/svn/project': 405 Method Not Allowed (http://localhost)
> The user access part comes from my configuration, it's optional...
> simply use : svn log -v and that's it
wow! bullseye! 8)
> try : svn help log to find more options ;)
and I thought I already had been there.. now it's evident that I hadn't ;)
So, now that I can checkout via SSH -a much better solution for me
compared to the http-, I do not need to access via http anymore but for
reference purposes (and with that geek curse of
obsessive/compulsiveness), I'd like to be able to also fetch it via http
even though I won't be using it.. 8)
Thank you very much again Simon, take care!
More information about the Pardus-users