<IfDefine HAVE_PUT> <IfModule !mod_put.c> LoadModule put_module extramodules/mod_put.so </IfModule> </IfDefine> <IfModule mod_put.c> <Location /pub> # PUT_EnablePut - Limited to 'on' or 'off' PUT_EnablePut On # PUT_EnableAppend - Limited to 'on' or 'off' PUT_EnableAppend On # PUT_EnableDelete - Limited to 'on' or 'off' PUT_EnableDelete Off # PUT_BlockSize - numeric block size # PUT_DirMask - numeric directory mask PUT_DirMask 777 # PUT_FileMask - numeric file mask PUT_FileMask 007 AuthType Basic AuthName "Web publishing" AuthUserFile /apache/conf/passwd # AuthGroupFile /apache/conf/group <Limit PUT> require valid-user </Limit> </Location> </IfModule>