apache

インストールモジュールを確認する

bin/httpd -M 2>&1 | sort actions_module (static) alias_module (static) asis_module (static) auth_basic_module (static) authn_default_module (static) authn_file_module (static) authz_default_module (static) authz_groupfile_module (static) a…

Apache(mod_proxy_balancer) + mongrelで運用するときの注意点

Railsをproduction環境で運用していると、こんなエラーが頻発していることに気が付いた。 Processing ApplicationController#index (for ::1 at 2007-08-07 15:51:09) [GET] Session ID: 006a27e09f46dfe1bd6f6cc2258cfa8e Parameters: {} ActionController:…

RHEL4にApache 2.2.4インストール

躓いたのは以下の2点。 どちらもWindows版では起こらない事だと思う。 ./configureでエラー。 すべてのリクエストが403 Forbiddenとなる 前者は http://www.tymy.net/~matsu/nucleus/item-1001.html を参照。 configureのオプションに with-included-apr を…

Apacheでインストールされているモジュールを確認する

httpd -l とすると以下のような実行結果が返る。 ./bin/httpd -l Compiled in modules: core.c mod_authn_file.c mod_authn_default.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_default.c mod_auth_basic.c mod_include.c mod_fi…

Windows版Apache2.0でmod_proxyを使う

Windows版Apache2.0にmod_proxyを使う。 躓いたところは二箇所。 Windows版だとmod_proxyだけじゃなくてmod_proxy_http.soもロードする必要がある。 「すべてのリクエストをリバースする」には/*ではなく/のみ。ワイルドカードは必要なし。 LoadModule proxy…