<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
<!-- English Revision: 106090:421174 (outdated) -->

<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<manualpage metafile="apachectl.xml.meta">
<parentdocument href="./">Programs</parentdocument>

  <title>apachectl - ¾ÆÆÄÄ¡ À¥¼­¹ö Á¶Àý ÀÎÅÍÆäÀÌ½º</title>

<summary>
     <p><code>apachectl</code>Àº ¾ÆÆÄÄ¡ ÇÏÀÌÆÛÅØ½ºÆ® Àü¼Û
     ÇÁ·ÎÅäÄÝ (HTTP) ¼­¹öÀÇ ¾Õ´ÜÀÌ´Ù. ÀÌ ÇÁ·Î±×·¥Àº °ü¸®ÀÚ°¡
     ¾ÆÆÄÄ¡ <a href="httpd.html">httpd</a> µ¥¸óÀ» Á¶Á¤ÇÏµµ·Ï
     µ½´Â´Ù.</p>

     <p><code>apachectl</code> ½ºÅ©¸³Æ®´Â µÎ°¡Áö ¹æ¹ýÀ¸·Î ½ÇÇàÇÑ´Ù.
     Ã¹¹øÂ° ¹æ¹ýÀº <code>httpd</code>À» ºÎ¸£´Â °£´ÜÇÑ ½ºÅ©¸³Æ®
     ¿ªÇÒÀ» ÇÏ¿©, ÇÊ¿äÇÑ È¯°æº¯¼ö¸¦ ¼³Á¤ÇÏ°í ¹ÞÀº ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®¸¦
     °¡Áö°í <code>httpd</code>¸¦ ½ÇÇàÇÑ´Ù. µÎ¹øÂ° ¹æ¹ýÀº
     <code>apachectl</code>¸¦ SysV init ½ºÅ©¸³Æ®·Î »ç¿ëÇÏ¿©,
     <code>start</code>, <code>restart</code>, <code>stop</code>
     °°Àº ÇÑ´Ü¾î ¾Æ±Ô¸ÕÆ®¸¦ ¹Þ¾Æ¼­ <code>httpd</code>¿¡°Ô
     ÀûÀýÇÑ ½ÅÈ£¸¦ º¸³½´Ù.</p>

     <p>¾ÆÆÄÄ¡¸¦ ÀÏ¹ÝÀûÀÎ °æ·Î¿¡ ¼³Ä¡ÇÏÁö ¾Ê¾Ò´Ù¸é, ÀûÀýÇÑ
     <code>httpd</code> °æ·Î·Î <code>apachectl</code> ½ºÅ©¸³Æ®¸¦
     ¼öÁ¤ÇØ¾ß ÇÑ´Ù. ¶Ç, <code>httpd</code> ¸í·ÉÇà ¾Æ±Ô¸ÕÆ®¸¦
     Ãß°¡·Î ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ½ºÅ©¸³Æ®ÀÇ ÁÖ¼®À»
     Âü°íÇÏ¶ó.</p>

     <p><code>apachectl</code> ½ºÅ©¸³Æ®´Â ¼º°ø½Ã Á¾·áÄÚµå 0À»,
     ¿À·ù½Ã &gt;0À» ¹ÝÈ¯ÇÑ´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ½ºÅ©¸³Æ®ÀÇ ÁÖ¼®À»
     Âü°íÇÏ¶ó.</p>
</summary>
<seealso><a href="../invoking.html">¾ÆÆÄÄ¡ ½ÃÀÛ</a></seealso>
<seealso><a href="../stopping.html">¾ÆÆÄÄ¡ Áß´Ü</a></seealso>
<seealso><a href="../configuring.html">¼³Á¤ÆÄÀÏ</a></seealso>
<seealso><a href="../platform/">ÇÃ·¡Æû ¹®¼­</a></seealso>
<seealso><a href="httpd.html">httpd</a></seealso>

<section id="synopsis"><title>°³¿ä</title>

<p>°£´ÜÇÑ ½ÇÇà ½ºÅ©¸³Æ®·Î µ¿ÀÛÇÏ¸é, <code>apachectl</code>Àº
<a href="httpd.html">httpd</a> ½ÇÇàÆÄÀÏÀÇ ¸ðµç ¾Æ±Ô¸ÕÆ®¸¦ ¹Þ´Â´Ù.</p>

<p><code><strong>apachectl</strong> [ <var>httpd-argument</var> ]</code></p>

<p>SysV init ¹æ½ÄÀ¸·Î µ¿ÀÛÇÏ¸é, <code>apachectl</code>Àº ¾Æ·¡¼­
¼³¸íÇÒ °£´ÜÇÑ ÇÑ´Ü¾î ¸í·É¾î¸¦ ¹Þ´Â´Ù.</p>

<p><code><strong>apachectl</strong> <var>command</var></code></p>

</section>

<section id="options"><title>¿É¼Ç</title>

<p>¿©±â¼­´Â SysV init-½Ä ¿É¼Ç¸¸ ¼³¸íÇÑ´Ù. ´Ù¸¥ ¿É¼ÇÀº <a
href="httpd.html">httpd</a> manpage¿¡¼­ ¼³¸íÇÑ´Ù.</p>

<dl>

<dt><code>start</code></dt>

<dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» ½ÃÀÛÇÑ´Ù. ÀÌ¹Ì ½ÇÇàÁßÀÌ¶ó¸é
¿À·ù¸¦ ³½´Ù. <code>apachectl -k start</code>¿Í °°´Ù.</dd>

<dt><code>stop</code></dt>

<dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» Áß´ÜÇÑ´Ù. <code>apachectl
-k stop</code>°ú °°´Ù.</dd>

<dt><code>restart</code></dt>

<dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» Àç½ÃÀÛÇÑ´Ù. µ¥¸óÀÌ ½ÇÇàÁßÀÌ
¾Æ´Ï¶ó¸é, ½ÃÀÛÇÑ´Ù. µ¥¸óÀÌ Àç½ÃÀÛ½Ã ½ÇÆÐÇÏÁö ¾ÊÀ½À» È®ÀÎÇÏ±âÀ§ÇØ
Àç½ÃÀÛ Àü¿¡ ÀÚµ¿À¸·Î <code>configtest</code> ¸í·É°ú °°ÀÌ ¼³Á¤ÆÄÀÏÀ»
°Ë»çÇÑ´Ù. <code>apachectl -k restart</code>¿Í °°´Ù.</dd>

<dt><code>fullstatus</code></dt>

<dd><module>mod_status</module>ÀÇ ¸ðµç »óÅÂ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù.
ÀÌ ¸í·ÉÀ» »ç¿ëÇÏ±âÀ§ÇØ¼­´Â ¼­¹ö°¡ <module>mod_status</module>¸¦
»ç¿ëÇÏ°í, ½Ã½ºÅÛ¿¡ <code>lynx</code> °°Àº ¹®ÀÚ±â¹Ý ºê¶ó¿ìÀú°¡
ÇÊ¿äÇÏ´Ù. »óÅÂ Á¤º¸¿¡ Á¢±ÙÇÏ´Â URLÀº ½ºÅ©¸³Æ®ÀÇ
<code>STATUSURL</code> º¯¼ö¸¦ ¼öÁ¤ÇÏ¿© ¼³Á¤ÇÒ ¼ö ÀÖ´Ù.</dd>

<dt><code>status</code></dt>

<dd>°£´ÜÇÑ »óÅÂ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. <code>fullstatus</code> ¿É¼Ç°ú
ºñ½ÁÇÏÁö¸¸, ÇöÀç ¼­ºñ½ºÁßÀÎ ¿äÃ» ¸ñ·ÏÀ» Ãâ·ÂÇÏÁö ¾Ê´Â´Ù.</dd>

<dt><code>graceful</code></dt>

<dd>¾ÆÆÄÄ¡ <code>httpd</code> µ¥¸óÀ» Á¡ÀÝ°Ô(gracefully) Àç½ÃÀÛÇÑ´Ù.
µ¥¸óÀÌ ½ÇÇàÁßÀÌ ¾Æ´Ï¶ó¸é, ½ÃÀÛÇÑ´Ù. ÀÏ¹ÝÀûÀÎ Àç½ÃÀÛ°ú ´Þ¸® ÇöÀç
¿­·ÁÀÖ´Â ¿¬°áÀ» ²÷Áö¾Ê´Â´Ù. ¶Ç, ÀÌÀü ·Î±×ÆÄÀÏÀ» Áï½Ã ´ÝÁö ¾Ê´Â´Ù.
Áï, ·Î±×¼øÈ¯ ½ºÅ©¸³Æ®¿¡¼­ ÀÌ ¸í·ÉÀ» »ç¿ëÇÑ´Ù¸é, ÀÌÀü ·Î±×ÆÄÀÏÀ»
Ã³¸®ÇÏ±âÀü¿¡ ·Î±×ÆÄÀÏÀ» ´ÝÇûÀ½À» º¸ÀåÇÏ±âÀ§ÇØ »ó´çÈ÷ ±â´Ù·Á¾ß
ÇÑ´Ù. ¾ÆÆÄÄ¡°¡ Àç½ÃÀÛ½Ã ½ÇÆÐÇÏÁö ¾ÊÀ½À» È®ÀÎÇÏ±âÀ§ÇØ Àç½ÃÀÛ
Àü¿¡ ÀÚµ¿À¸·Î <code>configtest</code> ¸í·É°ú °°ÀÌ ¼³Á¤ÆÄÀÏÀ»
°Ë»çÇÑ´Ù. <code>apachectl -k graceful</code>°ú °°´Ù.</dd>

<dt><code>configtest</code></dt>

<dd>¼³Á¤ÆÄÀÏÀÇ ¹®¹ýÀ» °Ë»çÇÑ´Ù. ¼³Á¤ÆÄÀÏÀ» ÀÐ°í <code>Syntax
Ok</code> È¤Àº Æ¯Á¤ ¼³Á¤¿À·ù¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾Ë·ÁÁØ´Ù.
<code>apachectl -t</code>¿Í °°´Ù.</dd>

</dl>

<p>¾Æ·¡ ¿É¼ÇÀ» »ç¿ëÇÒ ¼ö ÀÖÁö¸¸, ¾ÕÀ¸·Î »ç¶óÁú °ÍÀÌ´Ù.</p>

<dl>

<dt><code>startssl</code></dt>

<dd><code>apachectl -k start -DSSL</code>°ú °°´Ù. ¿ì¸®´Â Á÷Á¢
¾ÕÀÇ ¸í·É¾î¸¦ »ç¿ëÇÏ°Å³ª Ç×»ó SSLÀ» »ç¿ëÇÏµµ·Ï
<code>httpd.conf</code>¿¡¼­ <directive module="core"
type="section">IfDefine</directive> ¼½¼ÇÀ» Á¦°ÅÇÏ±æ ±ÇÇÑ´Ù.</dd>

</dl>

</section>

</manualpage>
