httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] SVN access w/ SSL while keeping old permissions
Date Tue, 05 Aug 2008 08:54:14 GMT
On Mon, Aug 4, 2008 at 22:20, stinger520 <cplein@hpti.com> wrote:

> I already have an svn repository and I am working on getting it set up so
> that it can be accessed from anywhere through https view ssl.

You want that someone can access it using a web browser? Using the
simple svn web view included in mod_svn, or something else?

The setup I have looks like this:

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

<Location /repos/>
        DAV svn
        SVNListParentPath on
        SVNParentPath /opt/svn/repos
        AuthType Basic
        AuthName "Authorization for repository required"
        AuthUserFile "/opt/svn/user_access/passwd"
        AuthzSVNAccessFile /opt/svn/user_access/access
        Require valid-user
</Location>

(This all part of a SSL virtual host config)

This way users can access the repository using a svn client and using
a webbrowser. User access is granted based on usernames and passwords
in /opt/svn/user_access/passwd and /opt/svn/user_access/access is a
SVN style access control file.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message