「ウェブの歴史は人類の歴史の繰り返し」という観点から色々勉強しています。最近は論文を書いてばっかりなので、コーディングを忘れないようにちょっとしたApacheモジュールを作ってました。 まずは機能から このモジュールの名前は、mod_request_dumperとしま... 続きを読む
mod_reproxy is an Apache2 module that implements support for the X-Reproxy-Url header, as originally implemented in Danga Interactive's perlbal load balancer. By setting the X-Reproxy-Url header, a backend process tells mod_reproxy to serve t... 続きを読む
こんにちは。開発部の池邉です。 既に色んなところで発表していますが、ライブドアではWebサーバとして殆んどのサービスでApacheを使用しています。 Apache の特徴として、モジュールによる機能の追加、挙動の制御があります。その中でもよく利用されていながら... 続きを読む
Hi, I am trying to write a custom module where I need to read post parameters from the request. I guess apreq library is relevant to this but could not find any substantial examples or documents. Is there any other way to read the params othe... 続きを読む
Apache stuff mod_extract_forwarded Introduction Obvious differences from Apache 1 version Description Configuration directives Download the source Build and Installation Introduction [top] The only thing published here is a rewritten version ... 続きを読む
Apache 2.0系のモジュールには本体に手を入れずに「モジュールのモジュール」によって機能を拡張できるものがあります。mod_log_configモジュールに独自フォーマットを追加する方法。 [続きを読む...] 続きを読む
皆さんは、負荷分散環境でのApacheのアクセスログをどのように取り扱ってますか? 通常、Apacheのログは動作サーバ上のローカルファイルとして出力されるので、 Webサーバを同時に何台も稼働させて負荷分散を行うような環境では、それらすべ てのWebサーバのロ... 続きを読む
This repository is private. All pages are served over SSL and all pushing and pulling is done over SSH. No one may fork, clone, or view it unless they are added as a member. Every repository with this icon () is private. This repository is pu... 続きを読む
http://github.com/spiritloose/mod_psgiPSGIを実装したApache2モジュール。 % make && make install でインストールできて、 LoadModule psgi_module modules/mod_psgi.so /psgi> SetHandler psgi PSGIApp /path/to/app.psgi で動く。 がーっと書いたのでまだ... 続きを読む
apacheの2.4系から Luaでapacheのフックを制御できる mod_luaモジュールが入るというネタを見かけたので、svnのtrunk版(2.3.*) を引っ張って試してみました。(元々 mod_wombatという名前で開発されてたモジュールが2.4系からはmod_luaとしてリリースされるって... 続きを読む
One of the great things about Apache is that if you don't like what it does, you can change it. Now, this is actually true for any package with source code available, but Apache makes this easier. It has a generalized interface to modules tha... 続きを読む
Apache モジュール界のスイスアーミーナイフこと mod_rewrite の中でも、最も何でもありな rewrite ができるのが、RewriteMap での prg タイプによる外部プログラム実行ですが、こいつは外部プログラムがひとつだけ常駐し、httpd と標準入出力を介してやりとり... 続きを読む
フックの順番はてきとう(処理順ではない)です。(あとで気が向いたら直します。)↑なるべく順番になるように直してみた。けど順番は無保証にしときます。あとたぶん標準のモジュールだけのはずだけどなんかが紛れ込んでるかも。これの出しかたはエントリ下に書い... 続きを読む
mod_parrot is an Apache module that exposes the Apache API to a Parrot virtual machine interpreter. This allows one to write custom Apache handlers in PIR or one of many high level languages (HLL) that target Parrot. Additionally, mod_parrot ... 続きを読む
If you host a lot of virtual servers on a single Apache box and use the supplied rotatelogs program to rotate the logs you'll notice that your process table is cluttered up with an instance of rotatelogs for each virtual server. With mod_log_... 続きを読む
Apache Module mod_log_slowmod_log_slow is Apache module to provide measures of the time period used for handling each request by the current process. Logging is done after processing a request if the request takes more than certain period of ... 続きを読む
mod_upload is an input filter module for multipart/form-data, as submitted from File Upload forms on the Web. mod_upload decodes the data, so the handler gets the file itself without the MIME encoding. Other fields from the form are provided ... 続きを読む
mod_uploader とは? mod_uploader は,よくあるアップローダを Apache のモジュールとして実 装したものです.以下のような特長があります. Apache のモジュールとして C++ で記述されているので,Perl や PHP で 作られた物に比べて高速. 独自の簡易スクリプ... 続きを読む
mod_access_token provides access token based secure downloading. Your web application generates a download URI with signed query_string parameters. mod_access_token will check signature, and limit the request by specifying an expiration time.... 続きを読む
mod_auth_opensocial 0.1.0 をリリースしました。 mod_auth_opensocial は、OpenSocial アプリからサーバに届いた署名付きリクエストの検証(Verification)を行うための Apache 2.0, 2.2 用のモジュールです。 署名付きリクエストとは、OpenSocial の makeReques... 続きを読む
Apache HTTPサーバのフィルタは便利だけどレスポンスボディにしか使えないんだよな。レスポンスヘッダにも手を入れたいのだけど…… と思ってmod_headersのドキュメントにあたってみる。やはり指定したヘッダがあろうがなかろうが置換または追加というの(setやa... 続きを読む
ケータイの端末IDで認証できる Apache モジュールつくってみました。なんかすでにありそうだったんですが、みつからなかったので自分で実装するというよくあるパターンに。下記のように設定すると、許可した端末IDのときだけコンテンツにアクセスできるようにな... 続きを読む
Added: Mon, Dec 24th 2007 18:49 UTC (11 months, 23 days ago) About: mod_perlite is a lightweight Apache module that embeds a Perl interpreter and suggests a default configuration where any file ending in ".pl" is interpreted by Perl. It is th... 続きを読む
mod_proxy_html is an output filter to rewrite HTML links in a proxy situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential... 続きを読む
jboss.org: community driven JBoss Web ProjectおよびJBoss AS Clustering Projectから興味深いプロジェクトが発表された。その名もmod_clusterだ。現在のところ1.0.0.Beta1が公開されている。名前のとおりApache HTTP Serverで動作するモジュールで、背後で動... 続きを読む
mod-ipenv mod-ipenv はリモートIPアドレス、ホスト名を元に環境変数を設定するためのApache2モジュールです。 とりあえず始める 現在のリリースは mod-ipenv-1.0.2 です。 最新のパッケージはダウンロードページから入手できます。 また、最新のソースコードを... 続きを読む
mod-cidr mod-cidr is a way to perform hash lookups based on the inbound connection source in a network router style. This module is useful for geo-location or net block lookups. Information is set in the server headers retrieved from CDB hash... 続きを読む
mod_ktai (もっど・けーたい) 「mod_ktai」は、弊社が開発したApacheモジュールです。 Apache上で動くアプリケーションに対して、開発言語を問わず携帯サイト作成のための様々な機能を提供することができます。 最新情報 2008/12/26 mod_ktai_emojiマニュアル... 続きを読む
社内コードコンペ - お題:最速なCIDRブロックマッチ判定 社内コードコンペ - お題:最速なCIDRブロックマッチ判定 〜 ひろせの場合 - IP::CountryとAPRを使ってみた 〜 社内コードコンペ - お題:最速なCIDRブロックマッチ判定 〜 安井の場合: バイナリサーチ... 続きを読む
しばらく鯖関係について書いてなかったので、半ば強引にネタを作ってみる。 携帯電話からのアクセスを、特定の法則で振り分けたい場合、例えば、 http://www.******.com/dialy/111.html のリクエストが、携帯電話からのアクセスだった場合、 http://... 続きを読む
現在 WEBアプリケーションの開発言語といえばいわゆる Light Weight Langage が主流の様な気がしますが、C言語で WEBアプリケーションを書きた いと思った時、どのような方法があるでしょうか。一つはコンパイルした実行 オブジェクトを CGI として呼び出す方法... 続きを読む
Overview mod_chxjはオープンソースの携帯向けコンテンツ変換Apache2.x用モジュールであり、CHTML(DoCoMo i-Mode用CHTML5.0)で記述された文書や通常のHTMLで記述された文書を、アクセスに来た端末のUser-Agentヘッダを見て、それぞれの端末にあった形式に変換... 続きを読む
Note: Someone has linked to this tutorial from the Apache 2.0 Developer Documentation. This is but one in an upcoming series of tutorials - check the main tutorial page for others. For that matter, check out the main threebit site. -- Cheers,... 続きを読む