1<?xml version="1.0" encoding="EUC-KR"?> 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="ko" xml:lang="ko"><head><!-- 4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 5 This file is generated from xml source: DO NOT EDIT 6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7 --> 8<title>mod_version - Apache HTTP Server</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.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body> 17<div id="page-header"> 18<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> 19<p class="apache">Apache HTTP Server Version 2.2</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<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.2</a> > <a href="./">���</a></div> 24<div id="page-content"> 25<div id="preamble"><h1>����ġ ��� mod_version</h1> 26<div class="toplang"> 27<p><span>������ ���: </span><a href="/en/mod/mod_version.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/ja/mod/mod_version.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 29<a href="/ko/mod/mod_version.html" title="Korean"> ko </a></p> 30</div> 31<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 32 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 33<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>���� ����</td></tr> 34<tr><th><a href="module-dict.html#Status">����:</a></th><td>Extension</td></tr> 35<tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>version_module</td></tr> 36<tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_version.c</td></tr> 37<tr><th><a href="module-dict.html#Compatibility">����:</a></th><td>����ġ 2.1 ���ĺ���</td></tr></table> 38<h3>���</h3> 39 40 <p>���� �ٸ� ������ ����� ������ �ٷ��� �� ū ��Ʈ���� 41 ��Ʈ������ ����ϱ����� �� ����� ������. �� ����� 42 ���� �� ����ǥ������ ����Ͽ� �����ο� ���� �˻簡 ������ 43 <code class="directive"><a href="#ifversion"><IfVersion></a></code>�� 44 �����Ѵ�.</p> 45 46 <div class="example"><h3>����</h3><p><code> 47 <IfVersion 2.1.0><br /> 48 <span class="indent"> 49 # ���� ������ ������ ��Ȯ�� 2.1.0�̴�<br /> 50 </span> 51 </IfVersion><br /> 52 <br /> 53 <IfVersion >= 2.2><br /> 54 <span class="indent"> 55 # ��¥ ���ο� ����� ����Ѵ� :-)<br /> 56 </span> 57 </IfVersion> 58 </code></p></div> 59 60 <p>�ٸ� ������ �Ʒ��� ����Ѵ�.</p> 61</div> 62<div id="quickview"><h3 class="directives">���þ��</h3> 63<ul id="toc"> 64<li><img alt="" src="/images/down.gif" /> <a href="#ifversion"><IfVersion></a></li> 65</ul> 66<ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 67 68<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 69<div class="directive-section"><h2><a name="IfVersion" id="IfVersion"><IfVersion></a> <a name="ifversion" id="ifversion">���þ�</a></h2> 70<table class="directive"> 71<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���� ������ ���´�</td></tr> 72<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code><IfVersion [[!]<var>operator</var>] <var>version</var>> ... 73</IfVersion></code></td></tr> 74<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> 75<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>All</td></tr> 76<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Extension</td></tr> 77<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_version</td></tr> 78</table> 79 <p><code class="directive"><IfVersion></code> ������ 80 ������ ������ ���ϴ� ������ �����Ҷ��� ������ ���� ���þ 81 ���´�. �Ϲ����� (����) ���� ��� <var>version</var> �ƱԸ�Ʈ�� 82 <code>2.1.0</code>�̳� <code>2.2</code>�� ���� 83 <code><var>major</var>[.<var>minor</var>[.<var>patch</var>]]</code> 84 ����̴�. <var>minor</var>�� <var>patch</var>�� �� �ȴ�. 85 �̵� ���ڰ� ��ٸ� 0�̶�� �����Ѵ�. ������ ���� ���� 86 <var>operator</var>�� �����ϴ�.</p> 87 88 <table class="bordered"><tr class="header"><th><var>operator</var></th><th>����</th></tr> 89<tr><td><code>=</code> Ȥ�� <code>==</code></td> 90 <td>������ ������ ����</td></tr> 91<tr class="odd"><td><code>></code></td> 92 <td>���� ū ������ ����</td></tr> 93<tr><td><code>>=</code></td> 94 <td>ũ�ų� ���� ������ ����</td></tr> 95<tr class="odd"><td><code><</code></td> 96 <td>���� ���� ������ ����</td></tr> 97<tr><td><code><=</code></td> 98 <td>�۰ų� ���� ������ ����</td></tr> 99</table> 100 101 <div class="example"><h3>����</h3><p><code> 102 <IfVersion >= 2.1><br /> 103 <span class="indent"> 104 # ������ 2.1.0 ���� ũ�ų� ��������<br /> 105 # �����Ѵ�.<br /> 106 </span> 107 </IfVersion> 108 </code></p></div> 109 110 <p>���� �ܿ��� ����ǥ������ ����Ͽ� ������ ������ ������ 111 �� �ִ�. ����� �ΰ��� ����� �ִ�.</p> 112 113 <table class="bordered"><tr class="header"><th><var>operator</var></th><th>����</th></tr> 114<tr><td><code>=</code> Ȥ�� <code>==</code></td> 115 <td><var>version</var>�� 116 <code>/<var>regex</var>/</code> ����̴�</td></tr> 117<tr class="odd"><td><code>~</code></td> 118 <td><var>version</var>�� 119 <code><var>regex</var></code> ����̴�</td></tr> 120</table> 121 122 <div class="example"><h3>����</h3><p><code> 123 <IfVersion = /^2.1.[01234]$/><br /> 124 <span class="indent"> 125 # ���� ���, ��� ���װ� �ִ� Ư�� ���� ���� �ذ�å�� ���´� 126 </span> 127 </IfVersion> 128 </code></p></div> 129 130 <p>������ �տ� ����ǥ(<code>!</code>)�� ���� �ǹ̸� �ݴ�� 131 �ؼ��Ѵ�.</p> 132 133 <div class="example"><p><code> 134 <IfVersion !~ ^2.1.[01234]$><br /> 135 <span class="indent"> 136 # �� ������ �ƴϸ�<br /> 137 </span> 138 </IfVersion> 139 </code></p></div> 140 141 <p><var>operator</var>�� ���ϸ� <code>=</code>�̶�� 142 ���Ѵ�.</p> 143 144</div> 145</div> 146<div class="bottomlang"> 147<p><span>������ ���: </span><a href="/en/mod/mod_version.html" hreflang="en" rel="alternate" title="English"> en </a> | 148<a href="/ja/mod/mod_version.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 149<a href="/ko/mod/mod_version.html" title="Korean"> ko </a></p> 150</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> 151<script type="text/javascript"><!--//--><![CDATA[//><!-- 152var comments_shortname = 'httpd'; 153var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_version.html'; 154(function(w, d) { 155 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 156 d.write('<div id="comments_thread"><\/div>'); 157 var s = d.createElement('script'); 158 s.type = 'text/javascript'; 159 s.async = true; 160 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 161 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 162 } 163 else { 164 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 165 } 166})(window, document); 167//--><!]]></script></div><div id="footer"> 168<p class="apache">Copyright 2013 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> 169<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[//><!-- 170if (typeof(prettyPrint) !== 'undefined') { 171 prettyPrint(); 172} 173//--><!]]></script> 174</body></html>