Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] What Apache module for SVN with WebDAV to use with SuSE 10.0
  • From: George Stoianov <gstoyanoff@xxxxxxxxx>
  • Date: Thu, 20 Apr 2006 21:40:57 -0400 (EDT)
  • Message-id: <20060421014057.71831.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--- Allister <lists@xxxxxxxxxxxxx> wrote:

> On Thursday 20 April 2006 17:31, you wrote:
>
> > Thank you Allister,
> >
> > This document is exactly what I needed. I am
> running
> > in abit of problem with getting it complete.
> Following
> > the instructions I have done the following:
> >
> > 1. I have added the svn user and group
> > 2. Set up svnserve through the runlevels
> > 3. added the directories under /srv
> > 4. created the repositories
> > 5. editted the subversion.conf file to include
> > directives for the 2 projects
> > 6. when I try to add the include for
> subversion.conf
> > and click Finish in Yast I get:
> > "Error
> > Cannot adjust 'apache2' service."
> >
> > I am sure I have messed up something but what??
> > Thanks.
> > George
>
> Just edit the apache config file
> (/etc/sysconfig/apache2) directly. Search
> for the declaration "APACHE_CONF_INCLUDE_DIRS" and
> add the string
> "/etc/apache2/conf.d/subversion.viewcvs.conf" or
> "/etc/apache2/conf.d/subversion.conf" if you are not
> using ViewCVS. I have
> attached a small howto that I wrote for myself
> (using ViewCVS) as I can never
> remember how to do these things and the help
> provided does not mention
> everything. Use this in combination
> with /usr/share/doc/packages/subversion/README.SuSE
> (especially if you want
> set up authentication) and you should have no
> problems. Remember to
> 'racapache2 restart' once all the configuring is
> done. you will get a couple
> of warning messages from Apache on startup, but I
> ignore these and the server
> works fine. Again, let me know if you have further
> trouble.
> Allister
> --
>
> Public Key to be found at www.keyserver.net.
> Search for tag@ukfsn
>
> > Setting a subversion repositary and interacting
with
> ViewCVS.
> You will need to be root.
>
> 1. Enable the Apache 2 server from Yast. Make sure
> that the mod_dav and mod_dav_svn modules will be
> loaded. Mod_python and mod_perl will also be needed
> and need to be loaded.
>
> 2. Add the string "SVN_VIEWCVS" to declaration
> APACHE_SERVER_FLAGS in file /etc/sysconfig/apache2.
>
>
> 3. Create the directories /srv/svn/repos,
> /srv/svn/user-access, /srv/svn/html (mkdir -p).
>
> 4. Added the string
> "/etc/apache2/conf.d/subversion.viewcvs.conf" to
> declaration "APACHE_CONF_INCLUDE_DIRS" in file
> /etc/sysconfig/apache2.
>
> 5. Copy the sample setup in
> /usr/share/doc/packages/subversion/README.SUSE for
> the additional conf file to
> /etc/apache2/conf.d/subversion.viewcvs.conf.
>
> 6. Change to the top directory of the repository,
> "cd /srv/svn/repos" and the create the repository
> with; "svnadmin create project_name".
>
> 7. Change the owner; "chown -R wwwrun:www
> project_name/{dav,db,locks}".
>
> 8. Won't bother with making it secure at the moment.
>
> 9.Edit /srv/viewcvs/viewcvs.conf and add the
> repository (project_name) to the declaration
> svn_roots.
>
> 10.Commit the files to the repository (after having
> added a location in
> /etc/apache2/conf.d/subversion.viewcvs.conf) with
> this command; svn import /path/to/files/tobeadded
> http://192.168.0.4/repos/<repository_name>.
>
> 11. To enable viewing of repostories via repository
> names in urls, change the 'root_as_url'
> declaration's value to 1. Also comment out any
> default repository and add the value
> '/path/to/repository/root' (/srv/svn/repos) to
> 'root_parents' declaration. Repositories should be
> viewable via the url
http://192.168.0.4.viewcvs/repository_name.

Thanks very much I will give it a try and let you know
how I do.
George


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

< Previous Next >
This Thread
  • No further messages