diff options
-rw-r--r-- | docs/manual/invoking.html | 139 | ||||
-rw-r--r-- | docs/manual/invoking.html.ja.jis | 144 |
2 files changed, 144 insertions, 139 deletions
diff --git a/docs/manual/invoking.html b/docs/manual/invoking.html deleted file mode 100644 index a9c625551f..0000000000 --- a/docs/manual/invoking.html +++ /dev/null @@ -1,139 +0,0 @@ -<!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> - diff --git a/docs/manual/invoking.html.ja.jis b/docs/manual/invoking.html.ja.jis new file mode 100644 index 0000000000..722f5ff424 --- /dev/null +++ b/docs/manual/invoking.html.ja.jis @@ -0,0 +1,144 @@ +<!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 $B$N5/F0(B</h1> + + <ul> + <li><a href="#windows">Windows $B$G$N(B Apache $B$N5/F0(B</a></li> + + <li> + <a href="#unix">Unix $B$G$N(B Apache $B$N5/F0(B</a> + + <ul> + <li><a href="#errors">$B%9%?!<%H%"%C%W;~$N%(%i!<(B</a></li> + + <li><a href="#boot">$B%V!<%H;~$N5/F0(B</a></li> + + <li><a href="#info">$BDI2C>pJs(B</a></li> + </ul> + </li> + </ul> + <hr /> + + <h2><a id="windows" name="windows">Windows + $B$G$N(B Apache $B$N5/F0(B</a></h2> + + <p>Windows $B>e$G$O!"(BApache $B$ODL>o$O(B + Windows NT $B$G$O%5!<%S%9$H$7$F!"(BWindows 95 + $B$G$O%3%s%=!<%k%"%W%j%1!<%7%g%s$H$7$F<B9T$5$l$^$9!#(B + $B>\:Y$K4X$7$F$O!"!V(B<a href="platform/windows.html#run"> + Windows $B$G(B Apache $B$r<B9T$9$k(B</a>$B!W$r$4Mw2<$5$$!#(B</p> + + <h2><a id="unix" name="unix">Unix + $B$G$N(B Apache $B$N5/F0(B</a></h2> + + <p>Unix$B$G$O!"(B<a href="programs/httpd.html">httpd</a> + $B%W%m%0%i%`$,!"%j%/%(%9%H=hM}$r%P%C%/%0%i%&%s%I$G>o$KF0:n$9$k(B + $B%G!<%b%s$H$7$F<B9T$5$l$^$9!#(B</p> + + <p>$B$b$7!"@_Dj%U%!%$%kCf$G;XDj$5$l$F$$$k(B + <a href="mod/mpm_common.html#Listen">Listen</a> + $B$,%G%U%)%k%H$N(B 80 ($B$b$7$/$O(B 1024 $B0J2<$NB>$N%]!<%H(B) + $B$G$"$k>l9g$O!"(BApache $B$r5/F0$9$k$?$a$K$O(B root + $B8"8B$,I,MW$K$J$j$^$9$,!"(B + $B$3$l$O$3$NFC8"%]!<%H$K%P%$%s%I$9$k$?$a$G$9!#(B + $B5/F0$7$F!"0lEY%m%0%U%!%$%k$r3+$/$H$$$C$?=`Hw$N$?$a$N(B + $BF0:n$r4v$D$+<B9T$7$?8e$O!"%/%i%$%"%s%H$+$i$N%j%/%(%9%H$KBP$9$k(B + listen $B$H1~Ez$r<B:]$K9T$&(B<em>$B;R(B</em>$B%W%m%;%9$r5/F0$7$^$9!#(B + $B%a%$%s$N(B <code>httpd</code> $B%W%m%;%9$O(B root $B8"8B$GAv$jB3$1$^$9$,!"(B + $B;R%W%m%;%9$O$b$C$HDc$$8"8B$GAv$j$^$9!#(B + $B$3$l$OA*Br$7$?(B<a + href="mpm.html">$B%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k(B</a>$B$G@)8f$5$l$^$9!#(B</p> + + <p><code>httpd</code> $B$,5/F0$5$l$F$^$::G=i$K$9$k$3$H$O!"(B + <a href="configuring.html">$B@_Dj%U%!%$%k(B</a> <code>httpd.conf</code> + $B$N0LCV$rFCDj$7$FFI$_9~$`$3$H$G$9!#(B + $B$3$N%U%!%$%k$N0LCV$O%3%s%Q%$%k;~$K@_Dj$5$l$^$9$,!"<B9T;~$K(B + <code>-f</code> $B%3%^%s%I%i%$%s%*%W%7%g%s$r;H$C$F(B + $B0LCV$r;XDj$9$k$3$H$b$G$-$^$9!#Nc$($P<!$N$h$&$K$G$9!#(B</p> + + <blockquote> + <code>/usr/local/apache/bin/httpd -f + /usr/local/apache/conf/httpd.conf</code> + </blockquote> + + <p><code>httpd</code> $B$N%P%$%J%j$rD>@\5/F0$9$kBe$o$j$K!"(B + <a href="programs/apachectl.html">apachectl</a> + $B$H8F$P$l$k%7%'%k%9%/%j%W%H$,Ds6!$5$l$F$$$^$9!#(B + <code>apachectl start</code> $B$d(B <code>apachectl stop</code> + $B$H$$$C$?4JC1$J%3%^%s%I$G!"(B + $B%G!<%b%s%W%m%;%9$r@)8f$9$k$N$K;H$($^$9!#(B</p> + + <p>$B%9%?!<%H%"%C%W$,K|;v>e<j$/$$$C$?$i!"%5!<%P$O%?!<%_%J%k$+$i(B + $B@Z$jN%$5$l$F!"%3%^%s%I%W%m%s%W%H$,B(:B$KLa$C$F$/$k$G$7$g$&!#(B + $B$3$l$O%5!<%P$,5/F0$7$F$$$k>uBV$r<($7$F$$$^$9!#(B + $B$=$N8e$O%V%i%&%6$G%5!<%P$K@\B3$7$F!"(B + <a href="mod/code.html#documentroot">DocumentRoot</a> + $B%G%#%l%/%H%j$N%F%9%H%Z!<%8$d$=$3$+$i%j%s%/$5$l$F$$$k(B + $B%m!<%+%k$N%I%-%e%a%s%H$r8+$k$3$H$,$G$-$k$G$7$g$&!#(B</p> + + <h3><a id="errors" name="errors">$B%9%?!<%H%"%C%W;~$N%(%i!<(B + </a></h3> + + <p>Apache $B$O!"%9%?!<%H%"%C%W;~$KCWL?E*$JLdBj$KAx6x$9$k$H!"(B + $B=*N;$9$kA0$K!"%3%s%=!<%k$+(B + <a href="mod/core.html#errorlog">ErrorLog</a> + $B$N$I$A$i$+$KLdBj$r5-=R$7$?%a%C%;!<%8$r=PNO$7$^$9!#(B + $B:G$b$h$/$"$k%(%i!<%a%C%;!<%8$O(B + "<code>Unable to bind to Port ...</code>" + $B$G$9!#$3$N%a%C%;!<%8$OIaDL$O<!$N$I$A$i$+$,860x$G$9(B:</p> + + <ul> + <li>root $B$G%m%0%$%s$7$F$$$J$$;~$K!"(B + $BFC8"%]!<%H$G%5!<%P$r5/F0$7$h$&$H$7$?!#(B</li> + + <li>$BF1$8%]!<%H$K4{$K%P%$%s%I$5$l$F$$$k(B Apache + $B$,$b$&0l$D$"$k$H$-$dB>$N%&%'%V%5!<%P$,B8:_$7$F$$$k;~$K!"(B + $B%5!<%P$r3+;O$7$h$&$H$7$?!#(B</li> + </ul> + + <p>$B$h$jB?$/$NLdBj2r7h$NJ}:v$N@bL@$O!"(B + Apache <a href="faq/">FAQ</a> $B$r$4Mw2<$5$$!#(B</p> + + <h3><a id="boot" name="boot">$B%V!<%H;~$N5/F0(B</a></h3> + + <p>$B%7%9%F%`$,%j%V!<%H$7$?8e$G$b(B + $B%5!<%P$,<B9T$5$lB3$1$k$h$&$K$7$?$$>l9g$O!"(B + <code>httpd</code> $B$+(B <code>apachectl</code> + $B$r8F$S=P$9$b$N$r%7%9%F%`%9%?!<%H%"%C%W%U%!%$%k(B + ($BDL>o(B <code>rc.local</code> $B$d(B <code>rc.N</code> + $BFb$N%U%!%$%k(B) $B$KDI2C$7$J$1$l$P$J$j$^$;$s!#(B + $B$3$NJ}K!$G$O(B Apache $B$r(B root $B8"8B$G5/F0$7$^$9!#(B + $B$3$l$r$9$kA0$K!"%;%-%e%j%F%#$d%"%/%;%9@)8B$,(B + $BE,@Z$K@_Dj$5$l$F$$$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B + <code>apachectl</code> $B%9%/%j%W%H$ODL>o$O!"(B init + $B%9%/%j%W%H$H$7$FD>@\%j%s%/$G$-$k$h$&$K@_7W$5$l$F$$$^$9$,!"(B + $BG0$N$?$a%7%9%F%`$NMW5a$K9gCW$7$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#(B</p> + + <h3><a id="info" name="info">$BDI2C>pJs(B</a></h3> + + <p><a href="programs/httpd.html">httpd</a> $B$d(B + <a href="programs/apachectl.html">apachectl</a> + $B!"%5!<%P$K4^$^$l$F$$$?$=$NB>Jd=u%W%m%0%i%`$N!"(B + $B%3%^%s%I%i%$%s%*%W%7%g%s$K4X$9$kDI2C>pJs$O!"(B + <a href="programs/">$B%5!<%P$HJd=u%W%m%0%i%`(B</a>$B%Z!<%8$K(B + $B5-:\$5$l$F$$$^$9!#(B + Apache $BG[I[$K4^$^$l$F$$$kA4(B<a href="mod/">$B%b%8%e!<%k(B</a>$B!"(B + $B$=$l$K$h$C$FDs6!$5$l$k(B<a href="mod/directives.html">$B%G%#%l%/%F%#%V(B</a> + $B$N%I%-%e%a%s%H$b$"$j$^$9!#(B</p> + <!--#include virtual="footer.html" --> + </body> +</html> + |