1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
Performances:
- Without any optimizations:
time bzr push http+webdav://<user>:<pass>@<host>/pub/bzr.dev
1948 revision(s) pushed.
real 9m54.487s
user 1m15.280s
sys 0m20.060s
The above measure is imprecise and certainly out-of-date.
Tests:
Installation example:
<IfModule mod_dav.c>
Alias /bzr /srv/DAV
<Directory /srv/DAV>
DAV On
# DirectorySlash tells apache to reply with redirections if
# directories miss their final '/'. It does not play well with
# bzr (to they the least) and provide no benefits in our
# case. So just turn it off.
DirectorySlash Off
# We need to activate the following which is off by
# default. For good security reasons which don't apply to
# bzr directories ;)
DavDepthInfinity on
# The simplest auth scheme is basic, just given as an
# example, using https is recommanded with it, or at
# least digest if https is not possible.
AuthType Basic
AuthName bzr
AuthUserFile /etc/apache2/dav.users
<LimitExcept GET OPTIONS>
# Write access requires authentication
Require valid-user
</LimitExcept>
</Directory>
</IfModule>
|