mod_log_config.xml.ko revision 69fba5b8aa0b0dc408f649cfdaab064ce120b05b
45632c3574ce843b9e85b9f73efe75b7b809f789slive<?xml version="1.0" encoding="EUC-KR" ?>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<!DOCTYPE modulesynopsis SYSTEM "/style/modulesynopsis.dtd">
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<?xml-stylesheet type="text/xsl" href="/style/manual.ko.xsl"?>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<!-- English Revision: 105989:165671 (outdated) -->
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<!--
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd Copyright 2004-2005 The Apache Software Foundation or its licensors,
6df89e6e4adeb986b41b7ec6b7593a887e031ce7nd as applicable.
6df89e6e4adeb986b41b7ec6b7593a887e031ce7nd
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim Licensed under the Apache License, Version 2.0 (the "License");
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim you may not use this file except in compliance with the License.
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim You may obtain a copy of the License at
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd http://www.apache.org/licenses/LICENSE-2.0
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim Unless required by applicable law or agreed to in writing, software
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz distributed under the License is distributed on an "AS IS" BASIS,
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim See the License for the specific language governing permissions and
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd limitations under the License.
4b5981e276e93df97c34e4da05ca5cf8bbd937dand-->
6df89e6e4adeb986b41b7ec6b7593a887e031ce7nd
6df89e6e4adeb986b41b7ec6b7593a887e031ce7nd<modulesynopsis metafile="mod_log_config.xml.meta">
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd
ed1d958582984a7c54a6ca859e15939a414fa733nd<name>mod_log_config</name>
ed1d958582984a7c54a6ca859e15939a414fa733nd<description>�������� ��û�� �α׿� ����Ѵ�</description>
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim<status>Base</status>
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim<sourcefile>mod_log_config.c</sourcefile>
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim<identifier>log_config_module</identifier>
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd<summary>
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end <p>�� ����� Ŭ���̾�Ʈ�� ��û�� �α׿� �����Ӱ� ����Ѵ�.
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end �ڽ��� ���ϴ� ������� �α׸� ����� �� �ְ�, �����̳� �ܺ�
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd ���α׷��� ���� �α׸� ���� ���� �ִ�. ������ �α׸� ����ϸ�
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz ��û�� ���ݿ� ��� ��û�� �α׿� �߰��ϰų� ������ �� �ִ�.</p>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
a29610af88e278144045bfa1bc63b4a1a4b5ff14trawick <p>�� ����� ������ ���þ �����Ѵ�. <directive
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz module="mod_log_config">TransferLog</directive>�� �������
35b1112eadc3479a2d81ea1b836aa87f21505ee9jerenkrantz �����, <directive module="mod_log_config">LogFormat</directive>��
52fff662005b1866a3ff09bb6c902800c5cc6dedjerenkrantz ���ϴ� ����� ���ϰ�, <directive
a12dd6260a66f51e25119982390def72e2db4be5nd module="mod_log_config">CustomLog</directive>�� �ѹ� �α����ϰ�
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ����� ��� �����Ѵ�. <directive>TransferLog</directive>��
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <directive>CustomLog</directive> ���þ ������ ����ϸ�
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ��û�� ���� ���Ͽ� ����� �� �ִ�.</p>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd</summary>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<seealso><a href="/logs.html">����ġ �α�����</a></seealso>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd<section id="formats"><title>�α� ��� �����ϱ�</title>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <p><directive module="mod_log_config">LogFormat</directive>��
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <directive module="mod_log_config">CustomLog</directive>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ���þ��� ��� �ƱԸ�Ʈ�� ���ڿ��̴�. �� ���ڿ��� ��� ��û��
63581ee088272ef76aa8d053609dc1705c222deesf �α����Ͽ� ����Ѵ�. ���ڿ����� �α����Ͽ� �״�� ����Ǵ�
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ���ڿ� ��ٲް� ���� ��Ÿ���� C�� "\n"�� "\t" ����ڸ�
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ����� �� �ִ�. �α����Ͽ� ���ǥ�� �齽������ ������ �տ�
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd �ݵ�� �齽������ ������ �Ѵ�.</p>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <p>��û�� Ư¡�� ��� ���ڿ��� "<code>%</code>" ���þ
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ����Ͽ� ����Ѵ�. �� ���þ�� �α����Ͽ��� ������ ����
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ����ȴ�.</p>
4af55bbfdbff2cae0cd3195876c93ea991523d1fcolm
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <table border="1" style="zebra">
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <columnspec><column width=".2"/><column width=".8"/></columnspec>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><th>���&nbsp;���ڿ�</th>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <th>����</th></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%%</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>�ۼ�Ʈ ��ȣ</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...a</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>��� IP-�ּ�</td></tr>
38819b9bf8b10d6db4842fb5a4ede7828b409819rbowen
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...A</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>(����) IP-�ּ�</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...B</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>HTTP ����� ������ ��� ����Ʈ��.</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...b</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>HTTP ����� ������ ��� ����Ʈ��. CLF ��İ� ����
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ����� ������ ��� ��� 0 ��� '<code>-</code>'�� ���´�.</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...{<var>Foobar</var>}C</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>������ ������ ��û���� <var>Foobar</var> ��Ű��
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd ����.</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...D</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>��û�� ó���ϴµ� �ɸ� �ð� (����ũ���� ����).</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
c5ac4f57bfd156a62495b9c6a049f05bbcb69acarbowen <tr><td><code>%...{<var>FOOBAR</var>}e</code></td>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <td>ȯ�溯�� <var>FOOBAR</var>�� ����</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...f</code></td>
e930328445e961ade1bd37ed7ca01c293b586400noodl <td>���ϸ�</td></tr>
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <tr><td><code>%...h</code></td>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd <td>��� ȣ��Ʈ</td></tr>
ed1d958582984a7c54a6ca859e15939a414fa733nd
ed1d958582984a7c54a6ca859e15939a414fa733nd <tr><td><code>%...H</code></td>
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim <td>��û ��������</td></tr>
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim <tr><td><code>%...{<var>Foobar</var>}i</code></td>
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd <td>������ ������ ��û���� <code><var>Foobar</var>:</code>
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd ����� ����.</td></tr>
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1end <tr><td><code>%...l</code></td>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd <td>(�ִٸ� identd�� ������) ��� �α��θ�.
9c1260efa52c82c2a58e5b5f20cd6902563d95f5rbowen <module>mod_ident</module>�� �ְ� <directive
7add1372edb1ee95a2c4d1314df4c7567bda7c62jim module="mod_ident">IdentityCheck</directive>��
29fb68cf24dbdb4985cbb4734cb6074ea4bbab26nd <code>On</code>�� �ƴϸ� �����ȣ�� ����Ѵ�.</td></tr>
<tr><td><code>%...m</code></td>
<td>��û �޽��</td></tr>
<tr><td><code>%...{<var>Foobar</var>}n</code></td>
<td>�ٸ� ����� ����� <var>Foobar</var> ��Ʈ(note)
����.</td></tr>
<tr><td><code>%...{<var>Foobar</var>}o</code></td>
<td>������ <code><var>Foobar</var>:</code> ��� ����.</td></tr>
<tr><td><code>%...p</code></td>
<td>��û�� �����ϴ� ������ ���� ��Ʈ</td></tr>
<tr><td><code>%...P</code></td>
<td>��û�� �����ϴ� �ڽ��� ���μ��� ID.</td></tr>
<tr><td><code>%...{<var>format</var>}P</code></td>
<td>��û�� �����ϴ� �ڽ��� ���μ��� ID Ȥ�� ������
ID. format���� <code>pid</code>�� <code>tid</code>��
�����ϴ�.
</td></tr>
<tr><td><code>%...q</code></td>
<td>���ǹ��ڿ� (���ǹ��ڿ��� �ִٸ� �տ� <code>?</code>��
���̰�, ��ٸ� �� ���ڿ�)</td></tr>
<tr><td><code>%...r</code></td>
<td>��û�� ù��° ��</td></tr>
<tr><td><code>%...s</code></td>
<td>����(status). ���� �����̷��ǵ� ��û�� ��� *��*
��û�� �����̴�. ���� ��û�� ���´� <code>%...&gt;s</code>.</td></tr>
<tr><td><code>%...t</code></td>
<td>common log format �ð� ���(ǥ�� ���� ���)�� �ð�</td></tr>
<tr><td><code>%...{<var>format</var>}t</code></td>
<td><code>strftime(3)</code> ��� format�� �ð�. (�����ð���
�� ����)</td></tr>
<tr><td><code>%...T</code></td>
<td>��û�� ó���ϴµ� �ɸ� �ð� (�� ����).</td></tr>
<tr><td><code>%...u</code></td>
<td>��� ����� (auth�� �����ϸ�, ����(<code>%s</code>)��
401�� ��� �̻��� ���� ���� �� ����)</td></tr>
<tr><td><code>%...U</code></td>
<td>���ǹ��ڿ��� ������ ��û URL ���.</td></tr>
<tr><td><code>%...v</code></td>
<td>��û�� ������ ������ ���� <directive
module="core">ServerName</directive>.</td></tr>
<tr><td><code>%...V</code></td>
<td><directive module="core">UseCanonicalName</directive>
������ �� ������.</td></tr>
<tr><td><code>%...X</code></td>
<td>������ �������� ���� ����.
<table>
<columnspec><column width=".2"/><column width=".6"/></columnspec>
<tr><td><code>X</code> =</td>
<td>������ ��ġ�� �� ������ ��������.</td></tr>
<tr><td><code>+</code> =</td>
<td>������ �����Ŀ��� ������ ����ִ�(keep alive).</td></tr>
<tr><td><code>-</code> = </td>
<td>������ ������ ������ ��������.</td></tr>
</table>
<p>(����ġ 1.3 �Ĺ� ���� �� ���þ��
<code>%...c</code>������, �������� ssl
<code>%...{<var>var</var>}c</code> ����� ���ļ�
�����ߴ�.)</p></td></tr>
<tr><td><code>%...I</code></td>
<td>��û�� ����� ������ ���� ����Ʈ���� 0�� �� ���.
�̸� ����Ϸ��� <module>mod_logio</module>�� �ʿ��ϴ�.</td></tr>
<tr><td><code>%...O</code></td>
<td>����� ������ �۽� ����Ʈ���� 0�� �� ���. �̸�
����Ϸ��� <module>mod_logio</module>�� �ʿ��ϴ�.</td></tr>
</table>
<p>"<var>...</var>"���� (<em>���� ���</em>,
<code>"%h %u %r %s %b"</code>) �ƹ��͵� ��ų�, �׸��� ������
������ ���´� (������ �������� ������ �ڸ��� "-"�� ����Ѵ�).
������ �տ� "!"�� ���̰ų� �Ⱥ��� HTTP �����ڵ� �������
�ۼ��Ѵ�. ���� ���, "%400,501{User-agent}i"�� 400 (Bad
Request) ����� 501 (Not Implemented) �����϶���
<code>User-agent:</code>�� �α׿� �����,
"%!200,304,302{Referer}i"�� �������� ���°� <em>�ƴ�</em>
��� ��û�� ���� <code>Referer:</code>�� �α׿� �����.</p>
<p>������ "&lt;"�� "&gt;"�� ���� �����̷��ǵ� ��û���� ����
ó�� ��û�� ������ ������ ��û�� ������ �����Ѵ�. �⺻������
<code>%s, %U, %T, %D, %r</code>�� ó�� ��û�� ����, ������
<code>%</code> ���þ�� ������ ��û�� ����. �׷���
<code>%&gt;s</code>�� ��û�� ������ ����(status)�� ����ϰ�,
<code>%&lt;u</code>�� �������� ��ȣ���� �ʴ� �ڿ����� ����
����̷��ǵ� ��쿡�� ó���� ������ ����ڸ� ����Ѵ�.</p>
<p>2.0.46 ������ httpd 2.0 ������ <code>%...r</code>,
<code>%...i</code>, <code>%...o</code>�� ��� ���ڿ��� �״��
�ξ��. ������ Common Log Format�� �䱸������ ������ؼ�����.
��, Ŭ���̾�Ʈ�� ����ڸ� �α׿� ������ �� �ֱ⶧����
�α������� �״�� �ٷ� ���� �����ؾ� �Ѵ�.</p>
<p>���Ȼ� ������ 2.0.46���� ����� �� ��� ���ڳ� �ٸ� Ư�����ڸ�
<code>\x<var>hh</var></code>�� ǥ���Ѵ�. ���⼭ <var>hh</var>��
�ش� ����Ʈ�� 16��� ǥ���� ��Ÿ����. �� ��Ģ�� ���ܴ� �齽������
�տ� ���̴� <code>"</code>�� <code>\</code>, �׸��� C���
����� ��鹮�ڵ�(<code>\n</code>, <code>\t</code> ��)�̴�.</p>
<p>�Ϲ������� ���� ����ϴ� �α� ����� ������ ����.</p>
<dl>
<dt>Common Log Format (CLF)</dt>
<dd><code>"%h %l %u %t \"%r\" %&gt;s %b"</code></dd>
<dt>����ȣ��Ʈ ������ ������ Common Log Format</dt>
<dd><code>"%v %h %l %u %t \"%r\" %&gt;s %b"</code></dd>
<dt>NCSA extended/combined �α� ���</dt>
<dd><code>"%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
\"%{User-agent}i\""</code></dd>
<dt>Referer �α� ���</dt>
<dd><code>"%{Referer}i -&gt; %U"</code></dd>
<dt>Agent (������) �α� ���</dt>
<dd><code>"%{User-agent}i"</code></dd>
</dl>
<p>��û�� �����ϴ� ������ ���� <directive
module="core">ServerName</directive>�� <directive
module="mpm_common">Listen</directive>�� ���� <code>%v</code>��
<code>%p</code>�� ����Ѵ�. �α׺м� ���α׷��� ������ ��û��
�����ϴ� ȣ��Ʈ�� �˱����� ����ȣ��Ʈ ã�� �˰?����
���� �ʿ��� �̵� ���� <directive
module="core">UseCanonicalName</directive> ������ �����ϴ�.</p>
</section>
<section id="security"><title>���Ȼ� ����� ��</title>
<p>������ �����ϴ� ����ڿܿ� �ٸ� ����ڰ� �α������� �����ϴ�
���丮�� ���� ������ ���� �� ���ȿ� ������ ������
<a href="/misc/security_tips.html#serverroot">���� ��</a>
������ ����϶�.</p>
</section>
<directivesynopsis>
<name>CookieLog</name>
<description>��Ű�� �α׿� ��������� ����� ���ϸ��� �����Ѵ�</description>
<syntax>CookieLog <var>filename</var></syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<compatibility>�� ���þ�� ������ �ʴ´�.</compatibility>
<usage>
<p><directive>CookieLog</directive> ���þ�� ��Ű�� �α׿�
��������� ����� ���ϸ��� �����Ѵ�. ���ϸ��� <directive
module="core">ServerRoot</directive>�� ������̴�. ��
���þ�� <code>mod_cookies</code>�� ȣȯ�� ���� ����������,
���� ������ �ʴ´�.</p>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>CustomLog</name>
<description>�α����� �̸��� ����� �����Ѵ�</description>
<syntax>CustomLog <var>file</var>|<var>pipe</var>
<var>format</var>|<var>nickname</var>
[env=[!]<var>environment-variable</var>]</syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<usage>
<p>������ ��û�� �α׿� ���涧 <directive>CustomLog</directive>
���þ ����Ѵ�. �α� ����� �����ϰ�, ȯ�溯���� ����Ͽ�
��û�� Ư¡�� ��� ���������� �α׸� ���� ���� �ִ�.</p>
<p>�α׸� ����� ��Ҹ� �����ϴ� ù��° �ƱԸ�Ʈ���� ����
���� �ϳ��� ����Ѵ�.</p>
<dl>
<dt><var>file</var></dt>
<dd><directive module="core">ServerRoot</directive>��
������� ���ϸ�.</dd>
<dt><var>pipe</var></dt>
<dd>���������� "<code>|</code>"�ڿ� �α� ������ ǥ���Է�����
���� ���α׷� ��θ� ��´�.
<note type="warning"><title>����:</title>
<p>���α׷��� ����Ѵٸ� ���α׷��� �������� ������ �����
�������� ����ȴ�. ������ root�� �����Ѵٸ� ���α׷���
root�� �����ϹǷ� ���α׷��� �������� Ȯ���϶�.</p>
</note>
<note type="warning"><title>����</title>
<p>���н��� �ƴ� �÷��� ���ϰ�θ� �Է��Ҷ� �÷�����
�齽������ ����ϴ��� �ݵ�� �������� ����ؾ� �Ѵ�.
�Ϲ������� �������Ͽ����� �׻� �������� ����ϴ� ����
����.</p>
</note></dd>
</dl>
<p>�ι�° �ƱԸ�Ʈ�� �α����Ͽ� ����� ������ �����Ѵ�.
�� <directive module="mod_log_config">LogFormat</directive>����
������ <var>nickname</var>�� ����ϰų� ���� <a
href="#formats">�α� ���</a> �� ������ <var>format</var>
���ڿ��� ����� �� �ִ�.</p>
<p>���� ���, ���� �� ���þ�� �Ȱ��� ���� �Ѵ�.</p>
<example>
# ��� ��Ī�� ����� CustomLog<br />
LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common<br />
CustomLog logs/access_log common<br />
<br />
# ���� ��� ���ڿ��� ����� CustomLog<br />
CustomLog logs/access_log "%h %l %u %t \"%r\" %&gt;s %b"
</example>
<p>����° �ƱԸ�Ʈ�� �� �Ǹ�, Ư�� ���� ȯ�溯�� ������
��� ��û�� �α׿� ������� ���θ� �����Ѵ�. ��û�� ������
<a href="/env.html">ȯ�溯��</a>�� ���ǵ��ִٸ� (Ȥ��
'<code>env=!<var>name</var></code>'�� ����� ��� ��ٸ�)
��û�� �α׿� ����Ѵ�.</p>
<p><module>mod_setenvif</module>�� <module>mod_rewrite</module>
����� ����Ͽ� ��û���� ȯ�溯���� ������ �� �ִ�. ����
���, ������ GIF �׸��� ���� ��� ��û�� �ּ��� �αװ� �ƴ�
�ٸ� �α����Ͽ� ����Ϸ���,</p>
<example>
SetEnvIf Request_URI \.gif$ gif-image<br />
CustomLog gif-requests.log common env=gif-image<br />
CustomLog nongif-requests.log common env=!gif-image
</example>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>LogFormat</name>
<description>�α����Ͽ� ����� ����� ����Ѵ�</description>
<syntax>LogFormat <var>format</var>|<var>nickname</var>
[<var>nickname</var>]</syntax>
<default>LogFormat "%h %l %u %t \"%r\" %>s %b"</default>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<usage>
<p>�� ���þ�� ���� �α������� ����� �����Ѵ�.</p>
<p><directive>LogFormat</directive> ���þ�� �ΰ��� �������
����Ѵ�. ù��° ����� �ƱԸ�Ʈ�� �Ѱ��� ����Ͽ� ����
<directive>TransferLog</directive> ���þ���� ����� �α�
����� �����Ѵ�. �� �ƱԸ�Ʈ�� ���� <a href="#formats">�α�
��� �����ϱ�</a> �� ������ <var>format</var>�� ����
����ϰų�, ������ ������ <directive>LogFormat</directive>
���þ�� �̸� ������ (�α� ����� ��Ī�ϴ�) <var>nickname</var>��
����� �� �ִ�.</p>
<p><directive>LogFormat</directive> ���þ��� �ι�° �����
<var>format</var>�� <var>nickname</var>�� �����Ѵ�. �׷���
�ڿ��� ����ϴ� <directive>LogFormat</directive>�̳� <directive
module="mod_log_config">CustomLog</directive> ���þ �ݺ��ؼ�
��� ���ڿ��� ��� �Է��ϴ� ��� <var>nickname</var>�� �����
�� �ִ�. ��Ī�� �����ϴ� <directive>LogFormat</directive>
���þ�� <strong>�� �ܿ��� �ƹ� ����� ���� �ʴ´�</strong>.
��, ��Ī<em>��</em>�� �����ϸ�, ������ ����� ����ϰų�
����� �⺻������ ������ �ʴ´�. �׷��Ƿ� ������ ������
<directive module="mod_log_config">TransferLog</directive>
���þ ������ ���� �ʴ´�. ��,
<directive>LogFormat</directive>�� ��Ī���� �ٸ� ��Ī��
������ �� �ִ�. ��Ī �̸����� �ۼ�Ʈ ��ȣ(<code>%</code>)��
����� �� ������ �����϶�.</p>
<example><title>����</title>
LogFormat "%v %h %l %u %t \"%r\" %&gt;s %b" vhost_common
</example>
</usage>
</directivesynopsis>
<directivesynopsis>
<name>TransferLog</name>
<description>�α����� ��ġ�� �����Ѵ�</description>
<syntax>TransferLog <var>file</var>|<var>pipe</var></syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
<usage>
<p>�� ���þ�� <directive
module="mod_log_config">CustomLog</directive> ���þ�� �ƱԸ�Ʈ��
����� ���������, �α� ����� ���� �����ϰų� ��û�� ���ǿ�
��� �α׿� ���� �� ���. ��� ���� �ֱ� ����� (��Ī��
�������� ����) <directive
module="mod_log_config">LogFormat</directive> ���þ ������
�α� ����� ����Ѵ�. �̸� ����� �������� �ʾҴٸ� Common
Log Format�� ����Ѵ�.</p>
<example><title>����</title>
LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-agent}i\""<br />
TransferLog logs/access_log
</example>
</usage>
</directivesynopsis>
</modulesynopsis>