summaryrefslogtreecommitdiffstats
path: root/server/dav-debuginfo.conf
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-03-05 18:05:34 -0500
committerWill Woods <wwoods@redhat.com>2009-03-05 18:05:34 -0500
commit87db0232f329e722f9f8cd97ec50285b14069f04 (patch)
tree787a4d4f72f2d5e8a376a64fe8e894287de5d83c /server/dav-debuginfo.conf
parentc9e5a68ad5f6febaed4093817fcce2b9a8d80a5b (diff)
downloaddebuginfofs-87db0232f329e722f9f8cd97ec50285b14069f04.tar.gz
debuginfofs-87db0232f329e722f9f8cd97ec50285b14069f04.tar.xz
debuginfofs-87db0232f329e722f9f8cd97ec50285b14069f04.zip
Rearrange files a bit, and add Requires(post/preun) for semanage
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>