Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > ff5f299af4038a753351412ecdad0f6d > files > 1

apache-mod_put-2.0.9-4mdv2009.1.src.rpm

<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>