home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 May / Gamestar_62_2004-05_dvd.iso / Programy / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252865_httpd.html.en < prev    next >
Extensible Markup Language  |  2003-05-29  |  9KB  |  185 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  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="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>httpd - Apache Hypertext Transfer Protocol Server - 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" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  15. <p class="apache">Apache HTTP Server Version 2.0</p>
  16. <img alt="" src="../images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  18. <div id="path">
  19. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>httpd - Apache Hypertext Transfer Protocol Server</h1>
  20. <div class="toplang">
  21. <p><span>Available Languages: </span><a href="../en/programs/httpd.html" title="English"> en </a></p>
  22. </div>
  23.  
  24.      <p><code>httpd</code> is the Apache HyperText Transfer Protocol
  25.      (HTTP) server program.  It is designed to be run as a standalone
  26.      daemon process. When used like this it will create a pool of
  27.      child processes or threads to handle requests.</p>
  28.  
  29.      <p>In general, <code>httpd</code> should not be invoked directly,
  30.      but rather should be invoked via <a href="apachectl.html">apachectl</a> on Unix-based systems or <a href="../platform/windows.html#winsvc">as a service on Windows NT,
  31.      2000 and XP</a> and <a href="../platform/windows.html#wincons">as
  32.      a console application on Windows 9x and ME</a>.</p>
  33. </div>
  34. <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
  35. <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
  36. </ul><h3>See also</h3><ul class="seealso"><li><a href="../invoking.html">Starting Apache</a></li><li><a href="../stopping.html">Stopping Apache</a></li><li><a href="../configuring.html">Configuration Files</a></li><li><a href="../platform/">Platform-specific Documentation</a></li><li><a href="apachectl.html">apachectl</a></li></ul></div>
  37. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  38. <div class="section">
  39. <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
  40.      <p><code><strong>httpd</strong> [ -<strong>d</strong>
  41.      <var>serverroot</var> ] [ -<strong>f</strong> <var>config</var> ]
  42.      [ -<strong>C</strong> <var>directive</var> ] [ -<strong>c</strong>
  43.      <var>directive</var> ] [ -<strong>D</strong> <var>parameter</var> ]
  44.      [ -<strong>e</strong> <var>level</var> ] [ -<strong>E</strong>
  45.      <var>file</var> ] [ <strong>-k</strong> start|restart|graceful|stop ]
  46.      [ -<strong>R</strong> <var>directory</var> ] [ -<strong>h</strong> ]
  47.      [ -<strong>l</strong> ] [ -<strong>L</strong> ] [ -<strong>S</strong> ]
  48.      [ -<strong>t</strong> ] [ -<strong>v</strong> ] [ -<strong>V</strong> ]
  49.      [ -<strong>X</strong> ]</code></p>
  50.  
  51.      <p>On <a href="../platform/windows.html">Windows systems</a>, the
  52.      following additional arguments are available:</p>
  53.  
  54.      <p><code><strong>httpd</strong> [ -<strong>k</strong>
  55.      install|config|uninstall ] [ -<strong>n</strong> <var>name</var> ]
  56.      [ -<strong>w</strong> ]</code></p>
  57. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  58. <div class="section">
  59. <h2><a name="options" id="options">Options</a></h2>
  60.  
  61. <dl>
  62. <dt><code>-d <var>serverroot</var></code></dt>
  63.  
  64. <dd>Set the initial value for the <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> directive to
  65. <var>serverroot</var>.  This can be overridden by the ServerRoot
  66. directive in the configuration file. The default is
  67. <code>/usr/local/apache2</code>.</dd>
  68.  
  69. <dt><code>-f <var>config</var></code></dt>
  70.  
  71. <dd>Uses the directives in the file <var>config</var> on startup. If
  72. <var>config</var> does not begin with a /, then it is taken to be a
  73. path relative to the <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>. The default is
  74. <code>conf/httpd.conf</code>.</dd>
  75.  
  76. <dt><code>-k <code>start|restart|graceful|stop</code></code></dt>
  77.  
  78. <dd>Signals <code>httpd</code> to start, restart, or stop.  See <a href="../stopping.html">Stopping Apache</a> for more information.</dd>
  79.  
  80. <dt><code>-C <var>directive</var></code></dt>
  81.  
  82. <dd>Process the configuration <var>directive</var> before reading
  83. config files.</dd>
  84.  
  85. <dt><code>-c <var>directive</var></code></dt>
  86.  
  87. <dd>Process the configuration <var>directive</var> after reading config
  88. files.</dd>
  89.  
  90.  
  91. <dt><code>-D <var>parameter</var></code></dt>
  92.  
  93. <dd>Sets a configuration <var>parameter </var>which can be used with
  94. <code class="directive"><a href="../mod/core.html#ifdefine"><IfDefine></a></code> sections
  95. in the configuration files to conditionally skip or process
  96. commands at server startup and restart.</dd>
  97.  
  98. <dt><code>-e <var>level</var></code></dt>
  99.  
  100. <dd>Sets the <code class="directive"><a href="../mod/core.html#loglevel">LogLevel</a></code> to
  101. <var>level</var> during server startup.  This is useful for
  102. temporarily increasing the verbosity of the error messages to find
  103. problems during startup.</dd>
  104.  
  105. <dt><code>-E <var>file</var></code></dt>
  106.  
  107. <dd>Send error messages during server startup to <var>file</var>.</dd>
  108.  
  109. <dt><code>-R <var>directory</var></code></dt>
  110.  
  111. <dd>When the server is compiled using the <code>SHARED_CORE</code>
  112. rule, this specifies the <var>directory</var> for the shared
  113. object files.</dd>
  114.  
  115. <dt><code>-h</code></dt>
  116.  
  117. <dd>Output a short summary of available command line options.</dd>
  118.  
  119. <dt><code>-l</code></dt>
  120.  
  121. <dd>Output a list of modules compiled into the server.  This will
  122. <strong>not</strong> list dynamically loaded modules included using
  123. the <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code> directive.</dd>
  124.  
  125. <dt><code>-L</code></dt>
  126.  
  127. <dd>Output a list of directives together with expected arguments and
  128. places where the directive is valid.</dd>
  129.  
  130. <dt><code>-S</code></dt>
  131.  
  132. <dd>Show the settings as parsed from the config file (currently only
  133. shows the virtualhost settings).</dd>
  134.  
  135. <dt><code>-t</code></dt>
  136.  
  137. <dd>Run syntax tests for configuration files only.  The program
  138. immediately exits after these syntax parsing with either a return code
  139. of 0 (Syntax OK) or return code not equal to 0 (Syntax Error).  If -D
  140. <var>DUMP</var>_<var>VHOSTS </var>is also set, details of the virtual host
  141. configuration will be printed.</dd>
  142.  
  143. <dt><code>-v</code></dt>
  144.  
  145. <dd>Print the version of <code>httpd</code>, and then exit.</dd>
  146.  
  147. <dt><code>-V</code></dt>
  148.  
  149. <dd>Print the version and build parameters of <code>httpd</code>, and
  150. then exit.</dd>
  151.  
  152. <dt><code>-X</code></dt>
  153.  
  154. <dd>Run httpd in debug mode.  Only one worker will be started and the
  155. server will not detach from the console.</dd>
  156.  
  157. </dl>
  158.  
  159. <p>The following arguments are available only on the <a href="../platform/windows.html">Windows platform</a>:</p>
  160.  
  161. <dl>
  162.  
  163. <dt><code>-k install|config|uninstall</code></dt>
  164.  
  165. <dd>Install Apache as a Windows NT service; change startup options for
  166. the Apache service; and uninstall the Apache service.</dd>
  167.  
  168. <dt><code>-n <var>name</var></code></dt>
  169.  
  170. <dd>The <var>name</var> of the Apache service to signal.</dd>
  171.  
  172. <dt><code>-w</code></dt>
  173.  
  174. <dd>Keep the console window open on error so that the error message can 
  175. be read.</dd>
  176.  
  177. </dl>
  178.  
  179. </div></div>
  180. <div class="bottomlang">
  181. <p><span>Available Languages: </span><a href="../en/programs/httpd.html" title="English"> en </a></p>
  182. </div><div id="footer">
  183. <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
  184. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  185. </body></html>