This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/apache2/sites-available/subversion | |
<VirtualHost *> | |
ServerName svn.sample.com | |
ServerAlias subversion.sample.com | |
DocumentRoot /var/local/svn/subversion.sample.com | |
<Location /repos/reporting> | |
DAV svn | |
SVNListParentPath off | |
AuthType Basic | |
AuthName "Subversion repository" | |
SVNPath /var/local/svn/subversion.sample.com | |
AuthzSVNAccessFile /var/local/svn/subversion.sample.com/conf/authz | |
AuthUserFile /var/local/svn/subversion.sample.com/conf/passwd | |
Satisfy Any | |
Require valid-user | |
<LimitExcept GET PROPFIND OPTIONS REPORT> | |
Satisfy Any | |
Require valid-user | |
</LimitExcept> | |
</Location> | |
<Directory "/var/local/svn/subversion.sample.com"> | |
Options -Indexes | |
</Directory> | |
</VirtualHost> | |
# /var/local/svn/subversion.sample.com/conf/authz | |
[/repo/read/only/path] | |
$anonymous = r | |
$authenticated = rw |
No comments:
Post a Comment