summaryrefslogtreecommitdiffstats
path: root/dav-debuginfo.conf
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-03-04 18:19:48 -0500
committerWill Woods <wwoods@redhat.com>2009-03-04 18:19:48 -0500
commitaa9b1df52b0c6136193e2fa92633f88ff1923995 (patch)
tree8a401438a670a922c82603b7b8ce7719face47c6 /dav-debuginfo.conf
parent6e226b480db46d418911039d81a286561c6be18e (diff)
downloaddebuginfofs-aa9b1df52b0c6136193e2fa92633f88ff1923995.tar.gz
debuginfofs-aa9b1df52b0c6136193e2fa92633f88ff1923995.tar.xz
debuginfofs-aa9b1df52b0c6136193e2fa92633f88ff1923995.zip
Make our apache config more like gnome-user-share/dav_user.conf
Diffstat (limited to 'dav-debuginfo.conf')
-rw-r--r--dav-debuginfo.conf43
1 files changed, 36 insertions, 7 deletions
diff --git a/dav-debuginfo.conf b/dav-debuginfo.conf
index 40f6ee4..aa91cf0 100644
--- a/dav-debuginfo.conf
+++ b/dav-debuginfo.conf
@@ -1,19 +1,48 @@
# 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
+DAVLockDB lock
-#Alias /debuginfofs/src /var/www/debuginfofs/src
-#Alias /debuginfofs/lib /var/www/debuginfofs/lib
-#<LocationMatch "/debuginfofs/(src|lib)">
+LimitXMLRequestBody 100000
+
+LoadModule dav_module /etc/httpd/modules/mod_dav.so
+LoadModule dav_fs_module /etc/httpd/modules/mod_dav_fs.so
Alias /debuginfofs /var/www/debuginfofs
<Location "/debuginfofs">
- #If you enable this on a public site, the first spider that crawls
- #this filesystem could unpack every RPM you have. Use with caution.
- #Options Indexes
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
</Location>
-#</LocationMatch>
+
+# 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>