DELAEMON BLOG

Live as if you were to die tomorrow. Learn as if you were to live forever.

2013-05-02から1日間の記事一覧

Apache Module IPを表示

ひな形つくってモジュールとディレクトリの紐付け済みでmod_xx.cを以下に編集 // ~ 省略 #include "http_core.h" /* The sample content handler */ static int ip_handler(request_rec *r) { const char *remotehost = NULL; if (strcmp(r->handler, "ip"))…

Apache Module ClearSilver

前作ったhello worldモジュールでClearSilverを使って表示してみるhttp://delaemon.hatenablog.jp/entry/2013/04/24/010326Makefile コマンドをapxs → apxs2へ。ClearSilverのインストールされたパスを指定。読み込むライブラリを指定。 # the used tools AP…