2003-04-17 (Thu) [長年日記]
▲ Subversion (3)
先の設定では commit した時の user が、全部 anonymous になってしまうことに気がついた。Apache に認証させる必要があるみたい。ということで BASIC 認証も導入。
<IfModule mod_dav_svn.c>
<Location /repos>
DAV svn
SVNPath /home/svn/repos
SVNIndexXSLT "/~svn/svnindex.xsl"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn/passwd
<IfModule mod_encoding.c>
EncodingEngine on
SetServerEncoding UTF-8
DefaultClientEncoding JA-AUTO-SJIS-MS SJIS
AddClientEncoding "Microsoft .* DAV" SJIS
AddClientEncoding "cadaver/" EUC-JP
</IfModule>
<LimitExcept GET PROPFIND OPTIONS REPORT>
Order Deny,Allow
Deny from all
Allow from localhost
Require valid-user
</LimitExcept>
</Location>
</IfModule>
[ツッコミを入れる]





