summaryrefslogtreecommitdiffstats
path: root/server/dav-debuginfo.conf
diff options
context:
space:
mode:
Diffstat (limited to 'server/dav-debuginfo.conf')
-rw-r--r--server/dav-debuginfo.conf52
1 files changed, 52 insertions, 0 deletions
diff --git a/server/dav-debuginfo.conf b/server/dav-debuginfo.conf
new file mode 100644
index 0000000..c66d3b9
--- /dev/null
+++ b/server/dav-debuginfo.conf
@@ -0,0 +1,52 @@
+# 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
+DAVLockDB /var/lock/debuginfofs-server.davlock
+LogLevel crit
+#LogLevel info
+ErrorLog /var/log/debuginfofs-server.log
+# I had this idea on March 3 2009, so... 3309
+Listen 3309
+# XXX maybe we should have a special debuginfofs user for this?
+User nobody
+
+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>