[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] igang med svn



Hej Atte

Ikke fordi jeg har styr på subversion, men mens jeg kikkede på web dav
støtte jeg også på subversion og fik hul igennem med en browser ved at
følge instruktionen, som fulgte med da jeg installerede 'mod_dav_svn'
rpm. Prøv med det her:

/etc/httpd/conf.d/subversion.conf

 LoadModule dav_svn_module     modules/mod_dav_svn.so
 LoadModule authz_svn_module   modules/mod_authz_svn.so

 #
 # Example configuration to enable HTTP access for a directory
 # containing Subversion repositories, "/var/www/svn".  Each repository
 # must be readable and writable by the 'apache' user.  Note that if
 # SELinux is enabled, the repositories must be labelled with a context
 # which httpd can write to; this will happen by default for
 # directories created in /var/www.  Use "restorecon -R /var/www/svn"
 # to label the repositories if upgrading from a previous release.
 #

 #
 # To create a new repository "http://localhost/repos/stuff"; using
 # this configuration, run as root:
 #
 #   # cd /var/www/svn
 #   # svnadmin create stuff
 #   # chown -R apache.apache stuff
 #

 <Location /repos>
    DAV svn
    SVNParentPath /var/www/svn

    # Limit write permission to list of valid users.
    <LimitExcept GET PROPFIND OPTIONS REPORT>
       # Require SSL connection for password protection.
       # SSLRequireSSL

       AuthType Basic
       AuthName "Authorization Realm"
       AuthUserFile /etc/httpd/passwd/passwords
       Require valid-user
    </LimitExcept>
 </Location>

Du skal også generer en password fil med kommandoen:
# htpasswd -c /etc/httpd/passwd/passwords user pass

Mvh.
Martin

On 6/19/06, Atte André Jensen <sslug@sslug> wrote:
Hejsa

Jeg vil gerne igang med subversion, men har brug for lidt hjælp. Jeg har
en server "tylstrup" som jeg gerne vil ligge repo på, sansynligtvis med
login via særlig svn bruger. Nogle repositories skal kun være
tilgængelige for mig, andre evt osse for nogle andre. Er der et kyndigt
hoved som kan hjælpe mig et skridt videre mod dette setup? Gerne list
step-by-step...

Jeg kører debian/stable på både server og klient.

NB: Jeg har naturligvis googlet efter det, og kikket i subversion bogen,
men har alligevel ikke ku' få hul, muligvis fordi jeg ikke helt ved hvad
jeg leder efter. Desuden er det meste "kom i gang"-dokumentaion under
forudsætningen af, at man har en kørende server...

--
peace, love & harmony
Atte

http://www.atte.dk      | quartet:      http://www.anagrammer.dk
http://www.atte.dk/gps  | compositions: http://www.atte.dk/compositions





 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-07-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *