diff options
author | Stefano Karapetsas <[email protected]> | 2013-09-11 01:01:44 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-09-11 01:01:44 -0700 |
commit | 2a7238bee32de88d24b541acdc06a1d1b3b73b02 (patch) | |
tree | b33ee3e6052a3eb4c9731c649bcdae95054f613e /data/dav_user_2.4.conf | |
parent | 48b2c97f8a0c7e8cc0d999d5c427c37daf5aabda (diff) | |
parent | 472993545c41fa1c77e672b3e4d0df205a6fa98f (diff) | |
download | mate-user-share-2a7238bee32de88d24b541acdc06a1d1b3b73b02.tar.bz2 mate-user-share-2a7238bee32de88d24b541acdc06a1d1b3b73b02.tar.xz |
Merge pull request #14 from NiceandGently/master
Add support for Apache HTTPD 2.4
Diffstat (limited to 'data/dav_user_2.4.conf')
-rw-r--r-- | data/dav_user_2.4.conf | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/data/dav_user_2.4.conf b/data/dav_user_2.4.conf new file mode 100644 index 0000000..c7a88a1 --- /dev/null +++ b/data/dav_user_2.4.conf @@ -0,0 +1,78 @@ +ServerRoot ${XDG_CONFIG_HOME}/user-share +DefaultRuntimeDir ${XDG_CONFIG_HOME}/user-share +PidFile pid +LogLevel crit +#LogLevel info +ErrorLog log +DAVLockDB lock + +LimitXMLRequestBody 100000 + +LoadModule unixd_module ${HTTP_MODULES_PATH}/mod_unixd.so +LoadModule mpm_prefork_module ${HTTP_MODULES_PATH}/mod_mpm_prefork.so +LoadModule dav_module ${HTTP_MODULES_PATH}/mod_dav.so +LoadModule dav_fs_module ${HTTP_MODULES_PATH}/mod_dav_fs.so +LoadModule authn_core_module ${HTTP_MODULES_PATH}/mod_authn_core.so +LoadModule authn_file_module ${HTTP_MODULES_PATH}/mod_authn_file.so +LoadModule auth_digest_module ${HTTP_MODULES_PATH}/mod_auth_digest.so +LoadModule authz_core_module ${HTTP_MODULES_PATH}/mod_authz_core.so +LoadModule authz_user_module ${HTTP_MODULES_PATH}/mod_authz_user.so +LoadModule authz_groupfile_module ${HTTP_MODULES_PATH}/mod_authz_groupfile.so +LoadModule dnssd_module ${HTTP_MODULES_PATH}/mod_dnssd.so + +DNSSDEnable on +DNSSDAutoRegisterVHosts Off +DNSSDAutoRegisterUserDir Off + +<VirtualHost *> + DocumentRoot ${XDG_PUBLICSHARE_DIR} + + <Location /> + DAV On + + AuthType Digest + AuthName "${GUS_LOGIN_LABEL}" + AuthDigestDomain / + + AuthDigestProvider file + AuthUserFile ${XDG_CONFIG_HOME}/user-share/passwd + AuthGroupFile /usr/share/mate-user-share/dav_groupfile + + <IfDefine RequirePasswordAlways> + Require user guest + Require group guest + </IfDefine> + + <IfDefine RequirePasswordOnWrite> + <LimitExcept GET OPTIONS PROPFIND> + Require user guest + Require group guest + </LimitExcept> + </IfDefine> + + DNSSDServiceName "${GUS_SHARE_NAME}" + DNSSDServiceTypes _webdav._tcp + DNSSDServiceTxtRecord u=guest + </Location> +</VirtualHost> + +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> + |