sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 force-reload
gedit /etc/apache2/mods-enabled/dav_svn.conf
sudo svnadmin create /svn
sudo htpasswd -cm /etc/apache2/passwd user_name
#error::
Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: apr_sockaddr_info_get() failed for komei-desktop
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
komei:$apr1$b2mxt...$DRo65Pjaua7nu/jOFUgHZ/
tech:$apr1$x8zft...$hUVE7KEI.VQXj66yz3EM1.
建立控制用户访问权限的文件svn-access-filename
[svn1:/] //这表示,仓库svn1的根目录下的访问权限
harry = rw // svn1仓库harry用户具有读和写权限
sally = r // svn1仓库sally用户具有读权限
[svn2:/] //svn2仓库根目录下的访问权限
harry = r // harry用户在svn2仓库根目录下只有读权限
sally = // sally用户在 svn2仓库根目录下无任何权限
[svn2:/src] //svn2仓库下src目录的访问权限
harry=rw
sally=r
[/] // 这个表示在所有仓库的根目录下
* = r // 这个表示对所有的用户都具有读权限
[groups] // 这个表示群组设置
svn1-developers = harry, sally // 这个表示某群组里的成员
svn2-developers = sally
[svn1:/]
@svn1-developers = rw // 如果在前面加上@符号,则表示这是个群组权限设置
然后修改httpd.conf配置:
DAV svn
SVNParentPath /svn
AuthType Basic
AuthName “Subversion repository”
AuthUserFile /svn-auth-filename (保存用户名和密码)
Require valid-user
AuthzSVNAccessFile /svn-access-filename(保存用户访问的权限策略)
分享到:
相关推荐
近日,被Chrom浏览器折磨废了~幸亏公司有各路大神。 问题来源: 对于开发小白来说,这都说的是什么玩意,完全不懂!没关系,我也不懂。 解决方案:首先确定你自己项目的...Header always edit Set-Cookie path=/ path=
If the file path contains CJK characters, SE always show "Save Deleted Files" prompt while opening the file. for SlickEdit 2011 (v16.0.0.6 32-bit) Thanks for Seungsin.
post.title = params[:value] # Name of parameter is always 'value'. post.save # It should render a text render :text => post.title end end # 视图 , :title %> # 带参数的即时编辑 , :title,...
Learn how to edit text the "Vim way:" complete a series of repetitive changes with The Dot Formula, using one keystroke to strike the target, followed by one keystroke to execute the change....
If the viraw option is also set, canonical processing is always disabled. This mode is implicit for systems that do not support two alternate end-of-line delimiters and might be helpful for certain ...
Pressing F4 will focus the file edit Pressing F5 will refresh directory Column layout was not saved correctly for international windows versions Entering characters in the file list did not always ...
项目导入后 记得启用,在Edit->Project Settings->Editor->Sprite Packer->Mode设置成Always Enabled ,然后Edit Tools -->AtlasMaker 下具体解释:...
Pressing F4 will focus the file edit Pressing F5 will refresh directory Column layout was not saved correctly for international windows versions Entering characters in the file list did not always ...
* Edit > Selection > Apply Syntax Case/Color Mark/Comment did not work for Column Selections * Describe Window now also shows the view comments in the header * Export Tables would change nls_date_...
* negative edit now begins at the specified runtime instead of ending there v2.85 * using "eac3to source video.h264" doesn't demux audio/subtitle tracks, anymore * using "eac3to source movie.*" ...
Editor with long lines and highlight edit line enabled would not draw text correctly Using Alt-Down to get a list in the SQL Window result grid could insert a character Connection indicator added to ...
Have you always wished Jupyter notebooks were plain text documents? Wished you could edit them in your favorite IDE? And get clear and meaningful diffs when doing version control? Then... Jupytext may...
Learn how to edit text the “Vim way”: complete a series of repetitive changes with The Dot Formula, using one keystroke to strike the target, followed by one keystroke to execute the change....
That's not always desirable. To allow text selection, define a drag handler, which is an area of every list element that allows it to be dragged around. Demo: http://jsbin.com/newize/edit?html,js,...
This way you can edit the underlying topology without losing or destroying your chamfers. Also chamfering by edge weights allows to have variable widths on your chamfers. Here are some of the ...
Welcome to this first edition of Spark: The Definitive Guide!... We also want to thank the numerous people who helped edit and review this book, without whom it would not have been possible.
Always Be Prepared to Stop 31 Create Custom Icons 31 Create a Beautiful Application Icon 31 Create an Icon for Spotlight Search Results 33 Create a Settings Icon (if You Supply Settings) 33 Provide a ...
Ignore all previous ... To better understand what I want and need you should always answer by including a question that helps you better understand the context and my needs. Did you understand?
- Bug 5084687: When a table to be edited contains a column with character length semantics, the Edit Table dialog box will show the byte length instead of the character length of this column. ...