<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head>
<meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" />
<!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_charset_lite - 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" type="text/javascript">
</script>
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body>
<div id="page-header">
<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>
<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="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.4</a> > <a href="./">모듈</a></div>
<div id="page-content">
<div id="preamble"><h1>아파치 모듈 mod_charset_lite</h1>
<div class="toplang">
<p><span>가능한 언어: </span><a href="../en/mod/mod_charset_lite.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../fr/mod/mod_charset_lite.html" hreflang="fr" rel="alternate" title="Français"> fr </a> |
<a href="../ko/mod/mod_charset_lite.html" title="Korean"> ko </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>Experimental</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">모듈명:</a></th><td>charset_lite_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">소스파일:</a></th><td>mod_charset_lite.c</td></tr></table>
<h3>요약</h3>
<p>이 모듈은 <strong>실험적인</strong> 모듈이고, 주의있게
사용해야 한다. 원하는 동작을 하는지
<code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code> 설정을 시험해봐라.</p>
<p><code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>를 사용하여 문서 원본의
문자집합과 문서를 클라이언트로 보내기 전에 변환할 문자집합을
지정할 수 있다. <code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>는 직접
자료를 변환하지않고 대신 아파치에게 변환하라고 요청한다.
<code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>는 EBCDIC과 ASCII 환경에서
사용할 수 있다. EBCDIC 환경에서 아파치는 보통 아파치 프로세스의
코드페이지에서 ISO-8859-1 문자집합으로 문서를 변환한다.
<code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>를 사용하여 다른 변환을
지시할 수 있다. ASCII 환경에서 아파치는 기본적으로 변환을
하지 않기때문에, 어떤 변환을 위해서는
<code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>가 필요하다.</p>
<p>이 모듈은 러시아판 아파치의 <code>mod_charset</code>이
제공하는 설정의 일부를 제공한다.</p>
</div>
<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><h3>주제</h3>
<ul id="topics">
<li><img alt="" src="../images/down.gif" /> <a href="#problems">일반적인 문제점</a></li>
</ul><h3 class="directives">지시어들</h3>
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#charsetdefault">CharsetDefault</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#charsetoptions">CharsetOptions</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#charsetsourceenc">CharsetSourceEnc</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__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_charset_lite">Known issues</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_charset_lite">Report a bug</a></li></ul><h3>참고</h3>
<ul class="seealso">
<li><a href="#comments_section">Comments</a></li></ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="problems" id="problems">일반적인 문제점</a></h2>
<h3>잘못된 문자집합 이름</h3>
<p><code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>를 사용하는 시스템의
ARP 번역기능이 <code class="directive"><a href="#charsetsourceenc">CharsetSourceEnc</a></code>와
<code class="directive"><a href="#charsetdefault">CharsetDefault</a></code>의
파라미터인 문자집합 이름을 처리할 수 있어야 한다. 문자집합
이름은 표준화되지 않았고, http 헤더에 사용하는 값과 항상
같지는 않다. 현재 APR은 iconv(3)만을 사용하기때문에,
다음과 같이 iconv(1) 프로그램을 사용하여 특정 문자집합
이름을 사용할 수 있는지 쉽게 알 수 있다:</p>
<div class="example"><p><code>
iconv -f charsetsourceenc-value -t charsetdefault-value
</code></p></div>
<h3>내용과 변환규칙의 문자집합이 서로 다름</h3>
<p>변환규칙이 상황에 맞지않으면 다음과 같은 여러 방식으로
변환이 실패할 수 있다:</p>
<ul>
<li>변환기능이 실패 반환코드를 반환하고 연결이 끊어질
수 있다.</li>
<li>입력버퍼를 변환하지 못할때 출력버퍼에 대신 특별한
문자를 (예, 물음표) 적을 수 있다.</li>
</ul>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CharsetDefault" id="CharsetDefault">CharsetDefault</a> <a name="charsetdefault" id="charsetdefault">지시어</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>CharsetDefault <var>charset</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">사용장소:</a></th><td>주서버설정, 가상호스트, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">Override 옵션:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">상태:</a></th><td>Experimental</td></tr>
<tr><th><a href="directive-dict.html#Module">모듈:</a></th><td>mod_charset_lite</td></tr>
</table>
<p><code class="directive">CharsetDefault</code> 지시어는 지시어를
사용한 위치에 있는 원본을 변환할 문자집합을 지정한다.</p>
<p><var>charset</var> 아규먼트에는 APR이 지원하는 문자집합
이름을 사용해야 한다. 일반적으로 iconv가 지원하는 문자집합을
의미한다.</p>
<div class="example"><h3>예제</h3><p><code>
<Directory /export/home/trawick/apacheinst/htdocs/convert><br />
<span class="indent">
CharsetSourceEnc UTF-16BE<br />
CharsetDefault ISO-8859-1<br />
</span>
</Directory>
</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><a name="CharsetOptions" id="CharsetOptions">CharsetOptions</a> <a name="charsetoptions" id="charsetoptions">지시어</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>CharsetOptions <var>option</var> [<var>option</var>] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Default">기본값:</a></th><td><code>CharsetOptions DebugLevel=0 NoImplicitAdd</code></td></tr>
<tr><th><a href="directive-dict.html#Context">사용장소:</a></th><td>주서버설정, 가상호스트, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">Override 옵션:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">상태:</a></th><td>Experimental</td></tr>
<tr><th><a href="directive-dict.html#Module">모듈:</a></th><td>mod_charset_lite</td></tr>
</table>
<p><code class="directive">CharsetOptions</code> 지시어는
<code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</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_charset_lite.html">mod_charset_lite</a></code>가 기록하는 디버그문구의
수준을 설정한다. 기본적으로 어떤 것도 기록하지 않는다.
이는 <code>DebugLevel=0</code>과 같다. 높은 숫자를 사용할수록
더 많은 디버그문구를 기록하게되어 서버 성능이 떨어진다.
숫자값의 실제 의미는 <code>mod_charset_lite.c</code> 앞부분의
DBGLVL_ 상수 정의를 참고하라.</dd>
<dt><code>ImplicitAdd | NoImplicitAdd</code></dt>
<dd><code>ImplicitAdd</code> 키워드는 내용을 변환할
문자집합을 지정하면 자동으로 <code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>를
필터에 추가한다. <code class="directive"><a href="../mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code> 지시어로 필터순서를 직접
지정한다면, <code>NoImplicitAdd</code>를 사용하여
<code class="module"><a href="../mod/mod_charset_lite.html">mod_charset_lite</a></code>가 자동으로 필터에
추가되지않도록 해야 한다.</dd>
</dl>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="CharsetSourceEnc" id="CharsetSourceEnc">CharsetSourceEnc</a> <a name="charsetsourceenc" id="charsetsourceenc">지시어</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>CharsetSourceEnc <var>charset</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">사용장소:</a></th><td>주서버설정, 가상호스트, directory, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">Override 옵션:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">상태:</a></th><td>Experimental</td></tr>
<tr><th><a href="directive-dict.html#Module">모듈:</a></th><td>mod_charset_lite</td></tr>
</table>
<p><code class="directive">CharsetSourceEnc</code> 지시어는 지시어를
사용한 위치에 있는 파일들 원본의 문자집합을 지정한다.</p>
<p><var>charset</var> 아규먼트에는 APR이 지원하는 문자집합
이름을 사용해야 한다. 일반적으로 iconv가 지원하는 문자집합을
의미한다.</p>
<div class="example"><h3>예제</h3><p><code>
<Directory /export/home/trawick/apacheinst/htdocs/convert><br />
<span class="indent">
CharsetSourceEnc UTF-16BE<br />
CharsetDefault ISO-8859-1<br />
</span>
</Directory>
</code></p></div>
<p>Solaris 8의 iconv가 이 예제의 문자집합을 지원한다.</p>
</div>
</div>
<div class="bottomlang">
<p><span>가능한 언어: </span><a href="../en/mod/mod_charset_lite.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../fr/mod/mod_charset_lite.html" hreflang="fr" rel="alternate" title="Français"> fr </a> |
<a href="../ko/mod/mod_charset_lite.html" title="Korean"> ko </a></p>
</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">Comments</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>
<script type="text/javascript"><!--//--><![CDATA[//><!--
var comments_shortname = 'httpd';
var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_charset_lite.html';
(function(w, d) {
if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
d.write('<div id="comments_thread"><\/div>');
var s = d.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
(d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
}
else {
d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
}
})(window, document);
//--><!]]></script></div><div id="footer">
<p class="apache">Copyright 2018 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<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[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
}
//--><!]]></script>
</body></html>