From aa9b1df52b0c6136193e2fa92633f88ff1923995 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 4 Mar 2009 18:19:48 -0500 Subject: Make our apache config more like gnome-user-share/dav_user.conf --- dav-debuginfo.conf | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) (limited to 'dav-debuginfo.conf') 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 -# +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 - #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 Order allow,deny Deny from all + #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 -# + +# These may need tuning for a public instance.. +StartServers 1 +MaxClients 3 + + + MinSpareServers 1 + MaxSpareServers 1 + + + + MinSpareThreads 1 + MaxSpareThreads 1 + ThreadsPerChild 3 + + + + MinSpareThreads 1 + MaxSpareThreads 1 + ThreadsPerChild 3 + -- cgit