揮発性のメモ2

http://d.hatena.ne.jp/iww/

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に制限をかける