揮発性のメモ2

知識をメモ書きしておく

PUTメソッドにBASIC認証をかける

/etc/httpd/conf.d/hoge.conf

<Directory />
    Script PUT /hoge/put.php

    AuthUserFile /etc/hoge/htpasswd
    AuthGroupFile /dev/null
    AuthName "PASUWA-DO WO IRETENE"
    AuthType Basic
    <Limit PUT>
        order deny,allow
        allow from all
        require valid-user
    </Limit>
</Directory>

PUTに制限をかける