+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta name="generator" content="HTML Tidy, see www.w3.org" />
-
- <title>Starting Apache</title>
- </head>
- <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
-
- <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
- vlink="#000080" alink="#FF0000">
- <!--#include virtual="header.html" -->
-
- <h1 align="CENTER">Starting Apache</h1>
-
- <ul>
- <li><a href="#windows">Starting Apache on Windows</a></li>
-
- <li>
- <a href="#unix">Starting Apache on Unix</a>
-
- <ul>
- <li><a href="#errors">Errors During Start-up</a></li>
-
- <li><a href="#boot">Starting at Boot-Time</a></li>
-
- <li><a href="#info">Additional Information</a></li>
- </ul>
- </li>
- </ul>
- <hr />
-
- <h2><a id="windows" name="windows">Starting Apache On
- Windows</a></h2>
-
- <p>On Windows, Apache is normally run as a service on Windows
- NT, or as a console application on Windows 95. For details, see
- <a href="platform/windows.html#run">running Apache for
- Windows</a>.</p>
-
- <h2><a id="unix" name="unix">Starting Apache on Unix</a></h2>
-
- <p>On Unix, the <a href="programs/httpd.html">httpd</a> program
- is run as a daemon which executes continuously in the
- background to handle requests.</p>
-
- <p>If the <a href="mod/mpm_common.html#Listen">Listen</a> specified in
- the configuration file is default of 80 (or any other port
- below 1024), then it is necessary to have root privileges in
- order to start apache, so that it can bind to this privileged
- port. Once the server has started and performed a few
- preliminary activities such as opening its log files, it will
- launch several <em>child</em> processes which do the work of
- listening for and answering requests from clients. The main
- <code>httpd</code> process continues to run as the root user,
- but the child processes run as a less privileged user. This is
- controlled by the selected <a href="mpm.html">Multi-Processing
- Module</a>.</p>
-
- <p>The first thing that <code>httpd</code> does when it is
- invoked is to locate and read the <a
- href="configuring.html">configuration file</a>
- <code>httpd.conf</code>. The location of this file is set at
- compile-time, but it is possible to specify its location at run
- time using the <code>-f</code> command-line option as in</p>
-
- <blockquote>
- <code>/usr/local/apache/bin/httpd -f
- /usr/local/apache/conf/httpd.conf</code>
- </blockquote>
-
- <p>As an alternative to invoking the <code>httpd</code> binary
- directly, a shell script called <a
- href="programs/apachectl.html">apachectl</a> is provided which
- can be used to control the daemon process with simple commands
- such as <code>apachectl start</code> and <code>apachectl
- stop</code>.</p>
-
- <p>If all goes well during startup, the server will detach from
- the terminal and the command prompt will return almost
- immediately. This indicates that the server is up and running.
- You can then use your browser to connect to the server and view
- the test page in the <a
- href="mod/core.html#documentroot">DocumentRoot</a> directory
- and the local copy of the documentation linked from that
- page.</p>
-
- <h3><a id="errors" name="errors">Errors During
- Start-up</a></h3>
-
- <p>If Apache suffers a fatal problem during startup, it will
- write a message describing the problem either to the console or
- to the <a href="mod/core.html#errorlog">ErrorLog</a> before
- exiting. One of the most common error messages is "<code>Unable
- to bind to Port ...</code>". This message is usually caused by
- either:</p>
-
- <ul>
- <li>Trying to start the server on a privileged port when not
- logged in as the root user; or</li>
-
- <li>Trying to start the server when there is another instance
- of Apache or some other web server already bound to the same
- Port.</li>
- </ul>
-
- <p>For further trouble-shooting instructions, consult the
- Apache <a href="faq/">FAQ</a>.</p>
-
- <h3><a id="boot" name="boot">Starting at Boot-Time</a></h3>
-
- <p>If you want your server to continue running after a system
- reboot, you should add a call to <code>httpd</code> or
- <code>apachectl</code> to your system startup files (typically
- <code>rc.local</code> or a file in an <code>rc.N</code>
- directory). This will start Apache as root. Before doing this
- ensure that your server is properly configured for security and
- access restrictions. The <code>apachectl</code> script is
- designed so that it can often be linked directly as an init
- script, but be sure to check the exact requirements of your
- system.</p>
-
- <h3><a id="info" name="info">Additional Information</a></h3>
-
- <p>Additional information about the command-line options of <a
- href="programs/httpd.html">httpd</a> and <a
- href="programs/apachectl.html">apachectl</a> as well as other
- support programs included with the server is available on the
- <a href="programs/">Server and Supporting Programs</a> page.
- There is also documentation on all the <a
- href="mod/">modules</a> included with the Apache distribution
- and the <a href="mod/directives.html">directives</a> that they
- provide.</p>
- <!--#include virtual="footer.html" -->
- </body>
-</html>
-
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+
+ <title>Starting Apache</title>
+ </head>
+ <!-- English revision: 1.34 -->
+ <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
+
+ <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
+ vlink="#000080" alink="#FF0000">
+ <!--#include virtual="header.html" -->
+
+ <h1 align="center">Apache \e$B$N5/F0\e(B</h1>
+
+ <ul>
+ <li><a href="#windows">Windows \e$B$G$N\e(B Apache \e$B$N5/F0\e(B</a></li>
+
+ <li>
+ <a href="#unix">Unix \e$B$G$N\e(B Apache \e$B$N5/F0\e(B</a>
+
+ <ul>
+ <li><a href="#errors">\e$B%9%?!<%H%"%C%W;~$N%(%i!<\e(B</a></li>
+
+ <li><a href="#boot">\e$B%V!<%H;~$N5/F0\e(B</a></li>
+
+ <li><a href="#info">\e$BDI2C>pJs\e(B</a></li>
+ </ul>
+ </li>
+ </ul>
+ <hr />
+
+ <h2><a id="windows" name="windows">Windows
+ \e$B$G$N\e(B Apache \e$B$N5/F0\e(B</a></h2>
+
+ <p>Windows \e$B>e$G$O!"\e(BApache \e$B$ODL>o$O\e(B
+ Windows NT \e$B$G$O%5!<%S%9$H$7$F!"\e(BWindows 95
+ \e$B$G$O%3%s%=!<%k%"%W%j%1!<%7%g%s$H$7$F<B9T$5$l$^$9!#\e(B
+ \e$B>\:Y$K4X$7$F$O!"!V\e(B<a href="platform/windows.html#run">
+ Windows \e$B$G\e(B Apache \e$B$r<B9T$9$k\e(B</a>\e$B!W$r$4Mw2<$5$$!#\e(B</p>
+
+ <h2><a id="unix" name="unix">Unix
+ \e$B$G$N\e(B Apache \e$B$N5/F0\e(B</a></h2>
+
+ <p>Unix\e$B$G$O!"\e(B<a href="programs/httpd.html">httpd</a>
+ \e$B%W%m%0%i%`$,!"%j%/%(%9%H=hM}$r%P%C%/%0%i%&%s%I$G>o$KF0:n$9$k\e(B
+ \e$B%G!<%b%s$H$7$F<B9T$5$l$^$9!#\e(B</p>
+
+ <p>\e$B$b$7!"@_Dj%U%!%$%kCf$G;XDj$5$l$F$$$k\e(B
+ <a href="mod/mpm_common.html#Listen">Listen</a>
+ \e$B$,%G%U%)%k%H$N\e(B 80 (\e$B$b$7$/$O\e(B 1024 \e$B0J2<$NB>$N%]!<%H\e(B)
+ \e$B$G$"$k>l9g$O!"\e(BApache \e$B$r5/F0$9$k$?$a$K$O\e(B root
+ \e$B8"8B$,I,MW$K$J$j$^$9$,!"\e(B
+ \e$B$3$l$O$3$NFC8"%]!<%H$K%P%$%s%I$9$k$?$a$G$9!#\e(B
+ \e$B5/F0$7$F!"0lEY%m%0%U%!%$%k$r3+$/$H$$$C$?=`Hw$N$?$a$N\e(B
+ \e$BF0:n$r4v$D$+<B9T$7$?8e$O!"%/%i%$%"%s%H$+$i$N%j%/%(%9%H$KBP$9$k\e(B
+ listen \e$B$H1~Ez$r<B:]$K9T$&\e(B<em>\e$B;R\e(B</em>\e$B%W%m%;%9$r5/F0$7$^$9!#\e(B
+ \e$B%a%$%s$N\e(B <code>httpd</code> \e$B%W%m%;%9$O\e(B root \e$B8"8B$GAv$jB3$1$^$9$,!"\e(B
+ \e$B;R%W%m%;%9$O$b$C$HDc$$8"8B$GAv$j$^$9!#\e(B
+ \e$B$3$l$OA*Br$7$?\e(B<a
+ href="mpm.html">\e$B%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B</a>\e$B$G@)8f$5$l$^$9!#\e(B</p>
+
+ <p><code>httpd</code> \e$B$,5/F0$5$l$F$^$::G=i$K$9$k$3$H$O!"\e(B
+ <a href="configuring.html">\e$B@_Dj%U%!%$%k\e(B</a> <code>httpd.conf</code>
+ \e$B$N0LCV$rFCDj$7$FFI$_9~$`$3$H$G$9!#\e(B
+ \e$B$3$N%U%!%$%k$N0LCV$O%3%s%Q%$%k;~$K@_Dj$5$l$^$9$,!"<B9T;~$K\e(B
+ <code>-f</code> \e$B%3%^%s%I%i%$%s%*%W%7%g%s$r;H$C$F\e(B
+ \e$B0LCV$r;XDj$9$k$3$H$b$G$-$^$9!#Nc$($P<!$N$h$&$K$G$9!#\e(B</p>
+
+ <blockquote>
+ <code>/usr/local/apache/bin/httpd -f
+ /usr/local/apache/conf/httpd.conf</code>
+ </blockquote>
+
+ <p><code>httpd</code> \e$B$N%P%$%J%j$rD>@\5/F0$9$kBe$o$j$K!"\e(B
+ <a href="programs/apachectl.html">apachectl</a>
+ \e$B$H8F$P$l$k%7%'%k%9%/%j%W%H$,Ds6!$5$l$F$$$^$9!#\e(B
+ <code>apachectl start</code> \e$B$d\e(B <code>apachectl stop</code>
+ \e$B$H$$$C$?4JC1$J%3%^%s%I$G!"\e(B
+ \e$B%G!<%b%s%W%m%;%9$r@)8f$9$k$N$K;H$($^$9!#\e(B</p>
+
+ <p>\e$B%9%?!<%H%"%C%W$,K|;v>e<j$/$$$C$?$i!"%5!<%P$O%?!<%_%J%k$+$i\e(B
+ \e$B@Z$jN%$5$l$F!"%3%^%s%I%W%m%s%W%H$,B(:B$KLa$C$F$/$k$G$7$g$&!#\e(B
+ \e$B$3$l$O%5!<%P$,5/F0$7$F$$$k>uBV$r<($7$F$$$^$9!#\e(B
+ \e$B$=$N8e$O%V%i%&%6$G%5!<%P$K@\B3$7$F!"\e(B
+ <a href="mod/code.html#documentroot">DocumentRoot</a>
+ \e$B%G%#%l%/%H%j$N%F%9%H%Z!<%8$d$=$3$+$i%j%s%/$5$l$F$$$k\e(B
+ \e$B%m!<%+%k$N%I%-%e%a%s%H$r8+$k$3$H$,$G$-$k$G$7$g$&!#\e(B</p>
+
+ <h3><a id="errors" name="errors">\e$B%9%?!<%H%"%C%W;~$N%(%i!<\e(B
+ </a></h3>
+
+ <p>Apache \e$B$O!"%9%?!<%H%"%C%W;~$KCWL?E*$JLdBj$KAx6x$9$k$H!"\e(B
+ \e$B=*N;$9$kA0$K!"%3%s%=!<%k$+\e(B
+ <a href="mod/core.html#errorlog">ErrorLog</a>
+ \e$B$N$I$A$i$+$KLdBj$r5-=R$7$?%a%C%;!<%8$r=PNO$7$^$9!#\e(B
+ \e$B:G$b$h$/$"$k%(%i!<%a%C%;!<%8$O\e(B
+ "<code>Unable to bind to Port ...</code>"
+ \e$B$G$9!#$3$N%a%C%;!<%8$OIaDL$O<!$N$I$A$i$+$,860x$G$9\e(B:</p>
+
+ <ul>
+ <li>root \e$B$G%m%0%$%s$7$F$$$J$$;~$K!"\e(B
+ \e$BFC8"%]!<%H$G%5!<%P$r5/F0$7$h$&$H$7$?!#\e(B</li>
+
+ <li>\e$BF1$8%]!<%H$K4{$K%P%$%s%I$5$l$F$$$k\e(B Apache
+ \e$B$,$b$&0l$D$"$k$H$-$dB>$N%&%'%V%5!<%P$,B8:_$7$F$$$k;~$K!"\e(B
+ \e$B%5!<%P$r3+;O$7$h$&$H$7$?!#\e(B</li>
+ </ul>
+
+ <p>\e$B$h$jB?$/$NLdBj2r7h$NJ}:v$N@bL@$O!"\e(B
+ Apache <a href="faq/">FAQ</a> \e$B$r$4Mw2<$5$$!#\e(B</p>
+
+ <h3><a id="boot" name="boot">\e$B%V!<%H;~$N5/F0\e(B</a></h3>
+
+ <p>\e$B%7%9%F%`$,%j%V!<%H$7$?8e$G$b\e(B
+ \e$B%5!<%P$,<B9T$5$lB3$1$k$h$&$K$7$?$$>l9g$O!"\e(B
+ <code>httpd</code> \e$B$+\e(B <code>apachectl</code>
+ \e$B$r8F$S=P$9$b$N$r%7%9%F%`%9%?!<%H%"%C%W%U%!%$%k\e(B
+ (\e$BDL>o\e(B <code>rc.local</code> \e$B$d\e(B <code>rc.N</code>
+ \e$BFb$N%U%!%$%k\e(B) \e$B$KDI2C$7$J$1$l$P$J$j$^$;$s!#\e(B
+ \e$B$3$NJ}K!$G$O\e(B Apache \e$B$r\e(B root \e$B8"8B$G5/F0$7$^$9!#\e(B
+ \e$B$3$l$r$9$kA0$K!"%;%-%e%j%F%#$d%"%/%;%9@)8B$,\e(B
+ \e$BE,@Z$K@_Dj$5$l$F$$$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#\e(B
+ <code>apachectl</code> \e$B%9%/%j%W%H$ODL>o$O!"\e(B init
+ \e$B%9%/%j%W%H$H$7$FD>@\%j%s%/$G$-$k$h$&$K@_7W$5$l$F$$$^$9$,!"\e(B
+ \e$BG0$N$?$a%7%9%F%`$NMW5a$K9gCW$7$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#\e(B</p>
+
+ <h3><a id="info" name="info">\e$BDI2C>pJs\e(B</a></h3>
+
+ <p><a href="programs/httpd.html">httpd</a> \e$B$d\e(B
+ <a href="programs/apachectl.html">apachectl</a>
+ \e$B!"%5!<%P$K4^$^$l$F$$$?$=$NB>Jd=u%W%m%0%i%`$N!"\e(B
+ \e$B%3%^%s%I%i%$%s%*%W%7%g%s$K4X$9$kDI2C>pJs$O!"\e(B
+ <a href="programs/">\e$B%5!<%P$HJd=u%W%m%0%i%`\e(B</a>\e$B%Z!<%8$K\e(B
+ \e$B5-:\$5$l$F$$$^$9!#\e(B
+ Apache \e$BG[I[$K4^$^$l$F$$$kA4\e(B<a href="mod/">\e$B%b%8%e!<%k\e(B</a>\e$B!"\e(B
+ \e$B$=$l$K$h$C$FDs6!$5$l$k\e(B<a href="mod/directives.html">\e$B%G%#%l%/%F%#%V\e(B</a>
+ \e$B$N%I%-%e%a%s%H$b$"$j$^$9!#\e(B</p>
+ <!--#include virtual="footer.html" -->
+ </body>
+</html>
+