diff options
Diffstat (limited to 'dav-debuginfo.conf')
-rw-r--r-- | dav-debuginfo.conf | 43 |
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> |