1<?xml version="1.0" encoding="UTF-8"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>フィルタ - Apache HTTP サーバ</title> 9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 11<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" /> 12<script src="/style/scripts/prettify.min.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body id="manual-page" class="no-sidebar"><div id="page-header"> 17<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">用語</a> | <a href="/sitemap.html">サイトマップ</a></p> 18<p class="apache">Apache HTTP サーバ バージョン 2.4</p> 19<img alt="" src="/images/feather.gif" /></div> 20<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 21<div id="path"> 22<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> > <a href="./">バージョン 2.4</a></div><div id="page-content"><div id="preamble"><h1>フィルタ</h1> 23<div class="toplang"> 24<p><span>翻訳済み言語: </span><a href="/en/filter.html" hreflang="en" rel="alternate" title="English"> en </a> | 25<a href="/es/filter.html" hreflang="es" rel="alternate" title="Español"> es </a> | 26<a href="/fr/filter.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 27<a href="/ja/filter.html" title="Japanese"> ja </a> | 28<a href="/ko/filter.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 29<a href="/tr/filter.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 30</div> 31<div class="outofdate">この日本語訳はすでに古くなっている 32 可能性があります。 33 最近更新された内容を見るには英語版をご覧下さい。 34 </div> 35 36 <p>Apache でのフィルタの使い方について記述しています。</p> 37 </div> 38<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 39<div class="section"> 40<h2><a name="filters" id="filters">フィルタ</a></h2> 41 42 <table class="related"><tr><th>関連モジュール</th><th>関連ディレクティブ</th></tr><tr><td><ul><li><code class="module"><a href="/mod/mod_deflate.html">mod_deflate</a></code></li><li><code class="module"><a href="/mod/mod_ext_filter.html">mod_ext_filter</a></code></li><li><code class="module"><a href="/mod/mod_include.html">mod_include</a></code></li></ul></td><td><ul><li><code class="directive"><a href="/mod/mod_mime.html#addinputfilter">AddInputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#removeinputfilter">RemoveInputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#removeoutputfilter">RemoveOutputFilter</a></code></li><li><code class="directive"><a href="/mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code></li><li><code class="directive"><a href="/mod/mod_ext_filter.html#extfilteroptions">ExtFilterOptions</a></code></li><li><code class="directive"><a href="/mod/core.html#setinputfilter">SetInputFilter</a></code></li><li><code class="directive"><a href="/mod/core.html#setoutputfilter">SetOutputFilter</a></code></li></ul></td></tr></table> 43 44 <p><em>フィルタ</em> とは、サーバが送受信したデータに 45 適用される処理プロセスのことをいいます。クライアントからサーバに 46 送られたデータは <em>入力フィルタ</em> によって、サーバから 47 クライアントに送られるデータは<em>出力フィルタ</em>によって 48 処理されます。複数のフィルタを適用することができ、 49 その順番を厳密に指定することもできます。</p> 50 51 <p>Apache 内部では、チャンク (データのぶつ切り) を行ったり、 52 バイト範囲の指定されたリクエストを扱ったりといった機能を 53 行う際に、フィルタが使われています。それに加えて、 54 実行時の設定ディレクティブで選択が可能なフィルタを 55 モジュールが提供できます。 56 データに適応されるフィルタのセットは、 57 <code class="directive"><a href="/mod/core.html#setinputfilter">SetInputFilter</a></code>, 58 <code class="directive"><a href="/mod/core.html#setoutputfilter">SetOutputFilter</a></code>, 59 <code class="directive"><a href="/mod/core.html#addinputfilter">AddInputFilter</a></code>, 60 <code class="directive"><a href="/mod/core.html#addoutputfilter">AddOutputFilter</a></code>, 61 <code class="directive"><a href="/mod/mod_mime.html#removeinputfilter">RemoveInputFilter</a></code>, 62 <code class="directive"><a href="/mod/mod_mime.html#removeoutputfilter">RemoveOutputFilter</a></code> 63 ディレクティブで制御できます。</p> 64 65 <p>現行の Apache HTTP サーバの配布では、 66 次のユーザ選択可能なフィルタが提供されています。</p> 67 68 <dl> 69 <dt>INCLUDES</dt> 70 <dd><code class="module"><a href="/mod/mod_include.html">mod_include</a></code> で Server-Side Include をします。</dd> 71 <dt>DEFLATE</dt> 72 <dd><code class="module"><a href="/mod/mod_deflate.html">mod_deflate</a></code> 73 を使って、クライアントに送信する前に出力を圧縮します。</dd> 74 </dl> 75 76 <p>また、<code class="module"><a href="/mod/mod_ext_filter.html">mod_ext_filter</a></code> モジュールで 77 外部プログラムをフィルタとして指定することができます。</p> 78 </div></div> 79<div class="bottomlang"> 80<p><span>翻訳済み言語: </span><a href="/en/filter.html" hreflang="en" rel="alternate" title="English"> en </a> | 81<a href="/es/filter.html" hreflang="es" rel="alternate" title="Español"> es </a> | 82<a href="/fr/filter.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 83<a href="/ja/filter.html" title="Japanese"> ja </a> | 84<a href="/ko/filter.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | 85<a href="/tr/filter.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 86</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> 87<script type="text/javascript"><!--//--><![CDATA[//><!-- 88var comments_shortname = 'httpd'; 89var comments_identifier = 'http://httpd.apache.org/docs/2.4/filter.html'; 90(function(w, d) { 91 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 92 d.write('<div id="comments_thread"><\/div>'); 93 var s = d.createElement('script'); 94 s.type = 'text/javascript'; 95 s.async = true; 96 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 97 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 98 } 99 else { 100 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 101 } 102})(window, document); 103//--><!]]></script></div><div id="footer"> 104<p class="apache">Copyright 2014 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> 105<p class="menu"><a href="/mod/">モジュール</a> | <a href="/mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">用語</a> | <a href="/sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- 106if (typeof(prettyPrint) !== 'undefined') { 107 prettyPrint(); 108} 109//--><!]]></script> 110</body></html>