summaryrefslogtreecommitdiffstats
path: root/dav-debuginfo.conf
blob: b31aa7df443745e3e1271d9539875f0d6793ffa8 (plain)
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
44
45
46
47
48
49
50
# Export debuginfo as a readonly DAV share
# See also: /usr/share/gnome-user-share/dav_user.conf
ServerRoot ${DEBUGINFOFS_EXPORTDIR}
DocumentRoot ${DEBUGINFOFS_EXPORTDIR}
PidFile /var/run/debuginfofs-server.pid
LockFile /var/lock/debuginfofs-server
LogLevel crit
#LogLevel info
ErrorLog /var/log/debuginfofs-server.log
# I had this idea on March 3 2009, so... 3309
Listen 3309
DAVLockDB lock

LimitXMLRequestBody 100000

LoadModule dav_module /etc/httpd/modules/mod_dav.so
LoadModule dav_fs_module /etc/httpd/modules/mod_dav_fs.so
LoadModule authz_host_module /etc/httpd/modules/mod_authz_host.so

<Directory "${DEBUGINFOFS_EXPORTDIR}">
  DAV On
  <LimitExcept GET HEAD OPTIONS PROPFIND>
    Order allow,deny
    Deny from all
  </LimitExcept>
  #If you enable Indexes on a public site, the first spider that crawls
  #this filesystem could unpack every RPM you have. Use with caution.
  #Options Indexes
</Directory>

# These may need tuning for a public instance..
StartServers 1
MaxClients 3

<IfModule mpm_prefork_module>
  MinSpareServers 1
  MaxSpareServers 1
</IfModule>

<IfModule mpm_worker_module>
  MinSpareThreads 1
  MaxSpareThreads 1
  ThreadsPerChild 3
</IfModule>

<IfModule mpm_event_module>
  MinSpareThreads 1
  MaxSpareThreads 1
  ThreadsPerChild 3
</IfModule>