Apache2

httpd.conf

  • オライリーApache本を読み込んだかいがあって、フルスクラッチhttpd.confをかけるようになった。
  • デフォルトのhttpd.confに比べて、1/15位のサイズになったんじゃないだろうか。
  • しかし、コレまで数年間、よくあんなコンフィグで動いていたモノだ。無知とは恐ろしい。orz

Digest Auth

  • 明示的に--enable-auth-digest をつけて./configureしないと有効にならないのか..
Modules, disabled by default
Some modules are compiled by default and have to be enabled explicitly or 
by using the keywords most or all (see --enable-mods-shared below for further 
explanation) to be available. Therefore use the options below.

--enable-auth-digest 
Enable RFC2617 Digest authentication provided by mod_auth_digest. This module uses plain text files to store the credentials. 
  • Digest認証を使ったのは初めてですが、ブラウザ依存でいろいろと問題がありそうですねえ。例えば、IE6だと、こんな仕込みをしないとURLの引数の解釈で変になるようだ。
    BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On

ディレクトリに対する実行権限

  • なんでforbiddenになるのかと思ったら、コレが原因だった。orz

マニュアル

  • ここ半年、TOEIC対策の勉強を続けてきた最大の収穫は、英語のドキュメントを読むことが全然苦じゃなくなったことですね。:-)