2008-01-18から1日間の記事一覧

「Windowsで」Apacheモジュールをビルドする

意外とあっさりできたのでびっくり。 ひな形を作る apxsをWindowsにインストールするのは大変そうなので、ここだけLinuxで実行。 ~/work# apxs -g -n test Creating [DIR] test Creating [FILE] test/Makefile Creating [FILE] test/modules.mk Creating [FI…

何もしないフィルタ

#include "httpd.h" #include "http_config.h" #include "http_protocol.h" #include "ap_config.h" static apr_status_t test_out_filter(ap_filter_t *f, apr_bucket_brigade *bb) { ap_remove_output_filter(f); return ap_pass_brigade(f->next, bb); } …