Subversion/Install のバックアップ(No.1) |
|
Apache 2.2.8 on Windows に対して、SubVersion 1.4.6 をインストールしてみた。
>md D:\Inetpub\svn
>svnadmin create D:\Inetpub\svn\test
>svn mkdir file://localhost/d:/Inetpub/svn/test/trunk -m "trunkディレクトリ作成" >svn mkdir file://localhost/d:/Inetpub/svn/test/tags -m "tagsディレクトリ作成" >svn mkdir file://localhost/d:/Inetpub/svn/test/branches -m "branchesディレクトリ作成"
>svn import -m "Test.txtのインポート" D:\testdir file://localhost/d:/Inetpub/svn/test/trunk
LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module "C:/Program Files/Subversion/bin/mod_dav_svn.so" LoadModule authz_svn_module "C:/Program Files/Subversion/bin/mod_authz_svn.so"
<Location /svn> DAV svn SVNParentPath "D:/Inetpub/svn" </Location>
# SubVersion Include conf/extra/httpd-svn.conf
LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authn_file_module modules/mod_authn_file.so
AuthType Basic AuthName "Subversion Repositories" AuthUserFile "C:/Apache/conf/svnpasswd" Require valid-user AuthzSVNAccessFile "C:/Apache/conf/svnaccess"
>htpasswd.exe -c "C:/Apache/conf/svnpasswd" guest
# Standard Access Permission [/] jomora = rw * = r [test:/trunk] guest = rw