HEX
Server: Apache
System: Linux wp-jo-wordpress-79f99b7d9d-ngh2p 6.12.67-0-virt #1-Alpine SMP PREEMPT_DYNAMIC 2026-01-27 02:08:12 x86_64
User: (1001)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: /opt/bitnami/apache/manual/mod/mod_ext_filter.html.ko.euc-kr
<!DOCTYPE html SYSTEM "about:legacy-compat">
<html lang="ko"><head><META http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<meta content="width=device-width, initial-scale=1" name="viewport">
<!--
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
              This file is generated from xml source: DO NOT EDIT
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      -->
<title>mod_ext_filter - Apache HTTP Server Version 2.4</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet">
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size">
<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">
<script src="../style/scripts/prettify.min.js">
</script>

<link href="../images/favicon.png" rel="shortcut icon"></head>
<body>
<div id="page-header">
<p class="menu"><a href="../mod/">���</a> | <a href="../mod/quickreference.html">���þ��</a> | <a href="https://cwiki.apache.org/confluence/display/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">���Ʈ��</a> | <a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2">Report a bug</a></p>
<p class="apache">Apache HTTP Server Version 2.4</p>
<img alt="" src="../images/feather.png"></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif"></a></div>
<div id="path">
<a href="https://www.apache.org/">Apache</a> &gt; <a href="https://httpd.apache.org/">HTTP Server</a> &gt; <a href="https://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.4</a> &gt; <a href="./">���</a></div>
<div id="page-content">
<div id="preamble"><h1>����ġ ��� mod_ext_filter</h1>
<button aria-label="Toggle language list" class="lang-toggle"><svg xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke="currentColor" fill="none" viewBox="0 0 24 24" height="16" width="16"><circle r="10" cy="12" cx="12"/><line y2="12" x2="22" y1="12" x1="2"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg></button>
<div class="toplang">
<p><span>������ ���: </span><a href="../en/mod/mod_ext_filter.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../fr/mod/mod_ext_filter.html" hreflang="fr" rel="alternate" title="Fran&ccedil;ais">&nbsp;fr&nbsp;</a> |
<a href="../ja/mod/mod_ext_filter.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/mod/mod_ext_filter.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�.
            �ֱٿ� ����� ���� ���� ������ ����ϼ���.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>���� ���� �ܺ� ��α׷����� ó���� �� Ŭ��̾�Ʈ��
������</td></tr>
<tr><th><a href="module-dict.html#Status">����:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>ext_filter_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">�ҽ����:</a></th><td>mod_ext_filter.c</td></tr></table>
<h3>���</h3>

    <p><code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code>�� ����ϸ� �����ϰ� �ͼ���
    ������ <a href="../filter.html">����</a>�� ���� �� �ִ�.
    ǥ��Է¿��� �а� ǥ����¿� ���� ��α׷�(��, ���н���
    ���� ��ɾ�)�� ����ġ ���ͷ� ����� �� �ִ�. �̷� ���ʹ�
    ����ġ API�� �������� ����ġ ���� ��μ��� �ȿ��� ����Ǵ�
    ���Ϳ� ���� �ſ� ��������, ����� ���� ���� �ִ�:</p>

    <ul>
      <li>��α׷��� ��� �ſ� �����ϴ�</li>

      <li>��α׷��� ǥ��Է¿��� �а� ǥ����¿� �� ���� �ִٸ�
      � ��α׷���/��ũ��Ʈ ���� ����� �� �ִ�</li>

      <li>�̹� �ִ� ��α׷��� �������� ����ġ ���ͷ� �����
      �� �ִ�</li>
    </ul>

    <p>��� ����ϱ⿡�� ����� ��������,
    <code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code>�� ����Ͽ� ���͸� ���� ����
    �� �ִ�.</p>

</div>
<div id="quickview"><h3>���</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif"> <a href="#examples">����</a></li>
</ul><h3 class="directives">���þ��</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif"> <a href="#extfilterdefine">ExtFilterDefine</a></li>
<li><img alt="" src="../images/down.gif"> <a href="#extfilteroptions">ExtFilterOptions</a></li>
</ul>
<h3>Bugfix checklist</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">httpd changelog</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&amp;list_id=144532&amp;product=Apache%20httpd-2&amp;query_format=specific&amp;order=changeddate%20DESC%2Cpriority%2Cbug_severity&amp;component=mod_ext_filter">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&amp;component=mod_ext_filter">Report a bug</a></li></ul><h3>���</h3>
<ul class="seealso">
<li><a href="../filter.html">����</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"></a></div>
<div class="section">
<h2 id="examples">���� <a title="Permanent link" href="#examples" class="permalink">&para;</a></h2>

    <h3>�ٸ� type�� ���� HTML�� �����</h3>
      <div class="example"><p><code>
        # mod_ext_filter ���þ ������<br>
        # �ܺ� ��α׷� /usr/bin/enscript�� ����Ͽ�<br>
        # ������ϰ� text/c ���� HTML�� ����� ����<br>
        # type�� text/html�� �����ϴ� ���͸� �����Ѵ�<br>
        ExtFilterDefine c-to-html mode=output \<br>
        <span class="indent">
          intype=text/c outtype=text/html \<br>
          cmd="/usr/bin/enscript --color -W html -Ec -o - -"<br>
        </span>
        <br>
        &lt;Directory "/export/home/trawick/apacheinst/htdocs/c"&gt;<br>
        <span class="indent">
          # ��¿� ���ο� ���͸� �����ϴ� core ���þ�<br>
          SetOutputFilter c-to-html<br>
          <br>
          # .c ���� type�� text/c�� ����� mod_mime<br>
          # ���þ�<br>
          AddType text/c .c<br>
          <br>
          # ��� ����� ��� ��û���� ��� ������<br>
          # �˷��ִ� �α׹��� ����ϴ� mod_ext_filter<br>
          # ���þ�<br>
          ExtFilterOptions DebugLevel=1<br>
        </span>
        &lt;/Directory&gt;
      </code></p></div>
    

    <h3>content ���ڵ� ���� ����ϱ�</h3>
      <p>Note: �Ʒ� gzip ������ ��� ���� ���� �� ��̴�.
      ��� ���񽺿� ����Ϸ��� <code class="module"><a href="../mod/mod_deflate.html">mod_deflate</a></code>��
      ����ϱ� �ٶ���.</p>

      <div class="example"><p><code>
        # �ܺ� ���͸� �����ϴ� mod_ext_filter ���þ�<br>
        ExtFilterDefine gzip mode=output cmd=/bin/gzip<br>
        <br>
        &lt;Location /gzipped&gt;<br>
        <span class="indent">
          # ����Ҷ� gzip ���͸� �����ϴ� core ���þ�<br>
          SetOutputFilter gzip<br>
          <br>
          # "Content-Encoding: gzip" ���� �߰��ϴ�<br>
          # mod_header ���þ�<br>
          Header set Content-Encoding gzip<br>
        </span>
        &lt;/Location&gt;
      </code></p></div>
    

    <h3>������ ������ �ϱ�</h3>
      <div class="example"><p><code>
        # cat���� ��� ���� ���ϴ� ���͸� �����ϴ�<br>
        # mod_ext_filter ���þ�; cat�� �ƹ��͵� �������<br>
        # �ʴ´�; ��� ó����θ� ��� �Ͽ� �ڿ��� �� �Ҹ��Ѵ�<br>
        ExtFilterDefine slowdown mode=output cmd=/bin/cat \<br>
        <span class="indent">
          preservescontentlength<br>
        </span>
        <br>
        &lt;Location /&gt;<br>
        <span class="indent">
          # ����Ҷ� slowdown ���͸� ������ �����ϴ� core ���þ�<br>
          #<br>
          SetOutputFilter slowdown;slowdown;slowdown<br>
        </span>
        &lt;/Location&gt;
      </code></p></div>
    

    <h3>sed�� ����Ͽ� ���信�� ��� ��ü�ϱ�</h3>
      <div class="example"><p><code>
        # ���信�� ��� ��ü�ϴ� ���͸� �����ϴ�<br>
        # mod_ext_filter ���þ�<br>
        #<br>
        ExtFilterDefine fixtext mode=output intype=text/html \<br>
        <span class="indent">
          cmd="/bin/sed s/verdana/arial/g"<br>
        </span>
        <br>
        &lt;Location /&gt;<br>
        <span class="indent">
          # ����Ҷ� fixtext ���͸� �����ϴ� core ���þ�<br>
          SetOutputFilter fixtext<br>
        </span>
        &lt;/Location&gt;
      </code></p></div>
    

    <h3>�ٸ� ���͸� ����ϱ�</h3>
      <div class="example"><p><code>
        # ���� ������ �ִ� Ư�� Ŭ��̾�Ʈ(IP 192.168.1.31)��<br>
        # ���� mod_deflate�� �а� ���� �ڷḦ ����Ѵ�.<br>
        # �� ���ʹ� mod_deflate�� ������ �� �ڷḦ ����Ѵ�.<br>
        ExtFilterDefine tracebefore \<br>
        <span class="indent">
          cmd="/bin/tracefilter.pl /tmp/tracebefore" \<br>
          EnableEnv=trace_this_client<br>
        </span>
        <br>
        # �� ���ʹ� mod_deflate���� ������ �ڷḦ ����Ѵ�.<br>
        # ftype �Ķ���͸� �������ʴ� ���, �⺻ �����<br>
        # AP_FTYPE_RESOURCE�� ���� ������ mod_deflate *�����*<br>
        # �д�. AP_FTYPE_CONTENT_SET ���� ���� �� ���ڰ���<br>
        # �����ϸ� mod_deflate ���Ŀ� �����Ѵ�.<br>
        ExtFilterDefine traceafter \<br>
        <span class="indent">
          cmd="/bin/tracefilter.pl /tmp/traceafter" \<br>
          EnableEnv=trace_this_client ftype=21<br>
        </span>
        <br>
        &lt;Directory /usr/local/docs&gt;<br>
        <span class="indent">
          SetEnvIf Remote_Addr 192.168.1.31 trace_this_client<br>
          SetOutputFilter tracebefore;deflate;traceafter<br>
        </span>
        &lt;/Directory&gt;
      </code></p></div>

      <div class="example"><h3>����� �ڷḦ ����ϴ� ����̴�:</h3><p><code>
        #!/usr/local/bin/perl -w<br>
        use strict;<br>
        <br>
        open(SAVE, "&gt;$ARGV[0]")<br>
        <span class="indent">
          or die "can't open $ARGV[0]: $?";<br>
        </span>
        <br>
        while (&lt;STDIN&gt;) {<br>
        <span class="indent">
          print SAVE $_;<br>
          print $_;<br>
        </span>
        }<br>
        <br>
        close(SAVE);
      </code></p></div>
    
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"></a></div>
<div class="directive-section"><h2 id="extfilterdefine"><span id="ExtFilterDefine">ExtFilterDefine</span> ���þ� <a title="Permanent link" href="#extfilterdefine" class="permalink">&para;</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�ܺ� ���͸� �����Ѵ�</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ExtFilterDefine <var>filtername</var> <var>parameters</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">�����:</a></th><td>�ּ�������</td></tr>
<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_ext_filter</td></tr>
</table>
    <p><code class="directive">ExtFilterDefine</code> ���þ�� �ܺ�
    ����� ������ ������ ��α׷�, �ƱԸ�Ʈ�� �����Ѵ�.</p>

    <p><var>filtername</var>�� ������ ���� �̸��� �����Ѵ�.
    �� �̸��� SetOutputFilter ���þ�� ����Ѵ�. ����� ���
    ���͵鰣�� �̸��� ��ġ�� �ȵȴ�. <em>��� ���͵�� API��
    ������ ������� �ʴ´�. �׷��� ���ڴ� �̸��� ��ġ�� ������
    ��� ���Ѵ�.</em></p>

    <p>������ �ܺ� ��ɾ�� �ٸ� ������ �����ϴ� ����� �ƱԸ�Ʈ��
    � ������ ���͵� �����ϴ�. ��, <code>cmd=</code> �Ķ���ʹ�
    �ݵ�� �ʿ��ϴ�. ����� �� �ִ� �Ķ���ʹ� ����� ����:</p>

    <dl>
      <dt><code>cmd=<var>cmdline</var></code></dt>

      <dd><code>cmd=</code> Ű����� ������ �ܺ� ��ɾ �����Ѵ�.
      ��α׷��� �ڿ� �ƱԸ�Ʈ�� �ִٸ� ����� �ֵ���ǥ��
      ����� �Ѵ� (<em>���� ���</em>,
      <code>cmd="<var>/bin/mypgm</var> <var>arg1</var>
      <var>arg2</var>"</code>). ���� ��ġ���ʰ� ���� ��α׷���
      �����ϱ⶧���� �Ϲ���� �� ����ǥ�� �ʿ���. ��α׷�
      �ƱԸ�Ʈ�� ������ �����Ѵ�. ��α׷� �ƱԸ�Ʈ�� �����
      �ִٸ� ���� �տ� �齽������ ����ؾ� �Ѵ�. �齽������
      �ƱԸ�Ʈ�� �Ϻζ�� �齽������ �ι� ����ؾ� �Ѵ�. ��α׷���
      �����Ҷ� ǥ�� CGI ȯ�溯���� �߰��� DOCUMENT_URI,
      DOCUMENT_PATH_INFO, QUERY_STRING_UNESCAPED ������ �����Ѵ�.</dd>

      <dt><code>mode=<var>mode</var></code></dt>

      <dd>���� ó���ϴ� ���ʹ� (�⺻����) <code>mode=output</code>��
      ����Ѵ�. ��û�� ó���ϴ� ���ʹ� <code>mode=input</code>��
      ����Ѵ�. <code>mode=input</code>�� ����ġ 2.1�� �߰��Ǿ���.</dd>

      <dt><code>intype=<var>imt</var></code></dt>

      <dd>�� �Ķ���ʹ� ���ͷ� ó���� ������ ���ͳ� media
      type(<em>��</em>, MIME type)�� �����Ѵ�. �⺻������ ���
      ������ ���ͷ� ó���Ѵ�. <code>intype=</code>�� �����ϸ�
      �ٸ� type�� ������ ���ͷ� ó����� �ʴ´�.</dd>

      <dt><code>outtype=<var>imt</var></code></dt>

      <dd>�� �Ķ���ʹ� ���ͷ� ó���� ������ ���ͳ� media
      type(<em>��</em>, MIME type)�� �����Ѵ�. ����ó�� �۾��߿�
      ���ͳ� media type�� �����Ҷ� �����ϴ�. �⺻������, ���ͳ�
      media type�� ����� �ʴ´�.</dd>

      <dt><code>PreservesContentLength</code></dt>

      <dd><code>PreservesContentLength</code> Ű����� ���Ͱ�
      content length�� �����ϵ��� �Ѵ�. ��κ�� ���Ͱ� content
      length�� �����ϹǷ� �� Ű����� �⺻���� �ƴϴ�. ���Ͱ�
      ��̸� �����Ҷ��� �� Ű���带 ����ؾ� �Ѵ�.</dd>

      <dt><code>ftype=<var>filtertype</var></code></dt>

      <dd>�� �Ķ���ʹ� ���� ������ ���� ���ڰ��� �����Ѵ�.
      ��κ�� ��� �⺻���� AP_FTYPE_RESOURCE�� �����ϴ�.
      ���͸� �����ϴ� ������ �ڿ����Ϳ� �޶���ϴ� ��� ��
      �Ķ���Ͱ� �ʿ��ϴ�. ������ ���� �˷��� util_filter.h��
      �ִ� AP_FTYPE_* ���Ǹ� ����϶�.</dd>

      <dt><code>disableenv=<var>env</var></code></dt>

      <dd>�� �Ķ���ͷ� ������ ȯ�溯���� ���ǵǾ��ٸ� ���͸�
      ������ �ʴ´�.</dd>

      <dt><code>enableenv=<var>env</var></code></dt>

      <dd>�� �Ķ���ͷ� ������ ȯ�溯���� ���ǵ� ��� ���͸�
      ����Ѵ�.</dd>
    </dl>

</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"></a></div>
<div class="directive-section"><h2 id="extfilteroptions"><span id="ExtFilterOptions">ExtFilterOptions</span> ���þ� <a title="Permanent link" href="#extfilteroptions" class="permalink">&para;</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td><code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code> �ɼ�� �����Ѵ�</td></tr>
<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ExtFilterOptions <var>option</var> [<var>option</var>] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>ExtFilterOptions DebugLevel=0 NoLogStderr</code></td></tr>
<tr><th><a href="directive-dict.html#Context">�����:</a></th><td>directory</td></tr>
<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_ext_filter</td></tr>
</table>
    <p><code class="directive">ExtFilterOptions</code> ���þ��
    <code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code>�� Ư���� ó���ɼ�� �����Ѵ�.
    <var>Option</var>�� ����� �ϳ���.</p>

    <dl>
      <dt><code>DebugLevel=<var>n</var></code></dt>

      <dd>
        <code>DebugLevel</code> �����
        <code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code>�� ����ϴ� ��� ����
        ����� ���Ѵ�. �⺻���� ��׹��� ������ �ʴ´�.
        �̴� <code>DebugLevel=0</code>�� ����. �� ���ڸ�
        ����Ҽ���, �� ���� ��׹��� ��ϵǰ� ���� �����
        ������. ���ڰ��� ��� �ǹ̴� <code>mod_ext_filter.c</code>
        �պκп� �ִ� DBGLVL_ �� ���ǿ� �����ִ�.

        <p>���: ���� �α׸� ����Ϸ��� core ���þ� <code class="directive"><a href="../mod/core.html#loglevel">LogLevel</a></code>�� ����Ͽ� ��׹���
        ����ġ �����α׿� ����ؾ� �Ѵ�.</p>
      </dd>

      <dt><code>LogStderr | NoLogStderr</code></dt>

      <dd><code>LogStderr</code> Ű����� �ܺ� ���� ��α׷���
      ǥ�ؿ����� ����ϴ� ������ ����ġ �����α׿� ����Ѵ�.
      <code>NoLogStderr</code>�� �� ���� ��� �ʴ´�.</dd>
    </dl>

    <div class="example"><h3>����</h3><p><code>
      ExtFilterOptions LogStderr DebugLevel=0
    </code></p></div>

    <p>���� ������ ����ϸ� ���Ͱ� ǥ�ؿ����� ����ϴ� ������
    ����ġ �����α׿� ����ϰ�, <code class="module"><a href="../mod/mod_ext_filter.html">mod_ext_filter</a></code>��
    ��ü ��׹��� ������ �ʴ´�. </p>

</div>
</div>
<div class="bottomlang">
<p><span>������ ���: </span><a href="../en/mod/mod_ext_filter.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="../fr/mod/mod_ext_filter.html" hreflang="fr" rel="alternate" title="Fran&ccedil;ais">&nbsp;fr&nbsp;</a> |
<a href="../ja/mod/mod_ext_filter.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/mod/mod_ext_filter.html" title="Korean">&nbsp;ko&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 2026 The Apache Software Foundation.<br>Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">���</a> | <a href="../mod/quickreference.html">���þ��</a> | <a href="https://cwiki.apache.org/confluence/display/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">���Ʈ��</a> | <a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2">Report a bug</a></p></div><script><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
    prettyPrint();
}
var langToggle = document.querySelector('.lang-toggle');
var topLang = document.querySelector('.toplang');
if (langToggle && topLang) {
    langToggle.addEventListener('click', function() { topLang.classList.toggle('open'); });
}
var qv = document.getElementById('quickview');
if (qv) {
    document.body.appendChild(qv);
    var qvBtn = document.createElement('button');
    qvBtn.className = 'qv-toggle';
    qvBtn.setAttribute('aria-label', 'Toggle page navigation');
    qvBtn.innerHTML = '&#9776;';
    document.body.appendChild(qvBtn);
    qvBtn.addEventListener('click', function() {
        var isOpen = qv.classList.toggle('open');
        if (isOpen) {
            qv.style.top = window.scrollY + 10 + 'px';
        }
    });
    window.addEventListener('scroll', function() { qv.classList.remove('open'); });
}
//--><!]]></script>
</body></html>