home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Software / Resources / Apache / apache_2.0.48-win32-x86-no_ssl.exe / F253959_custom_errordocs.gif < prev    next >
Encoding:
Text File  |  1998-02-05  |  22.7 KB  |  551 lines

  1. ?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
  2. <manualpage metafile="cgi.xml.meta">
  3.   <parentdocument href="./">How-To / Tutorials</parentdocument>
  4.  
  5.   <title>Apache Tutorial: Dynamic Content with CGI</title>
  6.  
  7.   <section id="intro">
  8.     <title>Introduction</title>
  9.  
  10.     <related>
  11.       <modulelist>
  12.         <module>mod_alias</module>
  13.         <module>mod_cgi</module>
  14.       </modulelist>
  15.  
  16.       <directivelist>
  17.         <directive module="mod_mime">AddHandler</directive>
  18.         <directive module="core">Options</directive>
  19.         <directive module="mod_alias">ScriptAlias</directive>
  20.       </directivelist>
  21.     </related>
  22.  
  23.     <p>The CGI (Common Gateway Interface) defines a way for a web
  24.     server to interact with external content-generating programs,
  25.     which are often referred to as CGI programs or CGI scripts. It
  26.     is the simplest, and most common, way to put dynamic content on
  27.     your web site. This document will be an introduction to setting
  28.     up CGI on your Apache web server, and getting started writing
  29.     CGI programs.</p>
  30.   </section>
  31.  
  32.   <section id="configuring">
  33.     <title>Configuring Apache to permit CGI</title>
  34.  
  35.     <p>In order to get your CGI programs to work properly, you'll
  36.     need to have Apache configured to permit CGI execution. There
  37.     are several ways to do this.</p>
  38.  
  39.     <section id="scriptalias">
  40.       <title>ScriptAlias</title>
  41.  
  42.       <p>The 
  43.       <directive module="mod_alias">ScriptAlias</directive>
  44.  
  45.       directive tells Apache that a particular directory is set
  46.       aside for CGI programs. Apache will assume that every file in
  47.       this directory is a CGI program, and will attempt to execute
  48.       it, when that particular resource is requested by a
  49.       client.</p>
  50.  
  51.       <p>The <directive module="mod_alias">ScriptAlias</directive>
  52.       directive looks like:</p>
  53.  
  54.       <example>
  55.         ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
  56.       </example>
  57.  
  58.       <p>The example shown is from your default <code>httpd.conf</code>
  59.       configuration file, if you installed Apache in the default
  60.       location. The <directive module="mod_alias">ScriptAlias</directive>
  61.       directive is much like the <directive module="mod_alias"
  62.       >Alias</directive> directive, which defines a URL prefix that
  63.       is to mapped to a particular directory. <directive>Alias</directive>
  64.       and <directive>ScriptAlias</directive> are usually used for
  65.       directories that are outside of the <directive module="core"
  66.       >DocumentRoot</directive> directory. The difference between
  67.       <directive>Alias</directive> and <directive>ScriptAlias</directive>
  68.       is that <directive>ScriptAlias</directive> has the added meaning
  69.       that everything under that URL prefix will be considered a CGI
  70.       program. So, the example above tells Apache that any request for a
  71.       resource beginning with <code>/cgi-bin/</code> should be served from
  72.       the directory  <code>/usr/local/apache/cgi-bin/</code>, and should be
  73.       treated as a CGI program.</p>
  74.  
  75.       <p>For example, if the URL
  76.       <code>http://www.example.com/cgi-bin/test.pl</code>
  77.       is requested, Apache will attempt to execute the file 
  78.       <code>/usr/local/apache/cgi-bin/test.pl</code>
  79.       and return the output. Of course, the file will have to
  80.       exist, and be executable, and return output in a particular
  81.       way, or Apache will return an error message.</p>
  82.     </section>
  83.  
  84.     <section id="nonscriptalias">
  85.       <title>CGI outside of ScriptAlias directories</title>
  86.  
  87.       <p>CGI programs are often restricted to <directive module="mod_alias"
  88.       >ScriptAlias</directive>'ed directories for security reasons.
  89.       In this way, administrators can tightly control who is allowed to
  90.       use CGI programs. However, if the proper security precautions are
  91.       taken, there is no reason why CGI programs cannot be run from
  92.       arbitrary directories. For example, you may wish to let users
  93.       have web content in their home directories with the 
  94.       <directive module="mod_userdir">UserDir</directive> directive.
  95.       If they want to have their own CGI programs, but don't have access to
  96.       the main <code>cgi-bin</code> directory, they will need to be able to
  97.       run CGI programs elsewhere.</p>
  98.     </section>
  99.  
  100.     <section id="options">
  101.       <title>Explicitly using Options to permit CGI execution</title>
  102.  
  103.       <p>You could explicitly use the <directive module="core"
  104.       >Options</directive> directive, inside your main server configuration
  105.       file, to specify that CGI execution was permitted in a particular
  106.       directory:</p>
  107.  
  108.       <example>
  109.         <Directory /usr/local/apache/htdocs/somedir><br />
  110.         <indent>
  111.           Options +ExecCGI<br />
  112.         </indent>
  113.         </Directory>
  114.       </example>
  115.  
  116.       <p>The above directive tells Apache to permit the execution
  117.       of CGI files. You will also need to tell the server what
  118.       files are CGI files. The following <directive module="mod_mime"
  119.       >AddHandler</directive> directive tells the server to treat all
  120.       files with the <code>cgi</code> or <code>pl</code> extension as CGI
  121.       programs:</p>
  122.  
  123.       <example>
  124.         AddHandler cgi-script cgi pl
  125.       </example>
  126.     </section>
  127.  
  128.     <section id="htaccess">
  129.       <title>.htaccess files</title>
  130.  
  131.       <p>A <a href="htaccess.html"><code>.htaccess</code> file</a> is a way
  132.       to set configuration directives on a per-directory basis. When Apache
  133.       serves a resource, it looks in the directory from which it is serving
  134.       a file for a file called <code>.htaccess</code>, and, if it 
  135.       finds it, it will apply directives found therein.  
  136.       
  137.       <code>.htaccess</code> files can be permitted with the 
  138.       <directive module="core">AllowOverride</directive> directive,
  139.       which specifies what types of directives can
  140.       appear in these files, or if they are not allowed at all. To
  141.       permit the directive we will need for this purpose, the
  142.       following configuration will be needed in your main server
  143.       configuration:</p>
  144.  
  145.       <example>
  146.         AllowOverride Options
  147.       </example>
  148.  
  149.       <p>In the <code>.htaccess</code> file, you'll need the 
  150.       following directive:</p>
  151.  
  152.       <example>
  153.         Options +ExecCGI
  154.       </example>
  155.  
  156.       <p>which tells Apache that execution of CGI programs is
  157.       permitted in this directory.</p>
  158.     </section>
  159.   </section>
  160.  
  161.   <section id="writing">
  162.     <title>Writing a CGI program</title>
  163.  
  164.     <p>There are two main differences between ``regular''
  165.     programming, and CGI programming.</p>
  166.  
  167.     <p>First, all output from your CGI program must be preceded by
  168.     a MIME-type header. This is HTTP header that tells the client
  169.     what sort of content it is receiving. Most of the time, this
  170.     will look like:</p>
  171.  
  172.     <example>
  173.       Content-type: text/html
  174.     </example>
  175.  
  176.     <p>Secondly, your output needs to be in HTML, or some other
  177.     format that a browser will be able to display. Most of the
  178.     time, this will be HTML, but occasionally you might write a CGI
  179.     program that outputs a gif image, or other non-HTML
  180.     content.</p>
  181.  
  182.     <p>Apart from those two things, writing a CGI program will look
  183.     a lot like any other program that you might write.</p>
  184.  
  185.     <section id="firstcgi">
  186.       <title>Your first CGI program</title>
  187.  
  188.       <p>The following is an example CGI program that prints one
  189.       line to your browser. Type in the following, save it to a
  190.       file called <code>first.pl</code>, and put it in your 
  191.       <code>cgi-bin</code> directory.</p>
  192.  
  193.       <example>
  194.         #!/usr/bin/perl<br />
  195.         print "Content-type: text/html\n\n";<br />
  196.         print "Hello, World.";
  197.       </example>
  198.  
  199.       <p>Even if you are not familiar with Perl, you should be able
  200.       to see what is happening here. The first line tells Apache
  201.       (or whatever shell you happen to be running under) that this
  202.       program can be executed by feeding the file to the
  203.       interpreter found at the location <code>/usr/bin/perl</code>.
  204.       The second line prints the content-type declaration we
  205.       talked about, followed by two carriage-return newline pairs.
  206.       This puts a blank line after the header, to indicate the end
  207.       of the HTTP headers, and the beginning of the body. The third
  208.       line prints the string "Hello, World.". And that's the end
  209.       of it.</p>
  210.  
  211.       <p>If you open your favorite browser and tell it to get the
  212.       address</p>
  213.  
  214.       <example>
  215.         http://www.example.com/cgi-bin/first.pl
  216.       </example>
  217.  
  218.       <p>or wherever you put your file, you will see the one line 
  219.       <code>Hello, World.</code> appear in your browser window.
  220.       It's not very exciting, but once you get that working, you'll
  221.       have a good chance of getting just about anything working.</p>
  222.     </section>
  223.   </section>
  224.  
  225.   <section id="troubleshoot">
  226.     <title>But it's still not working!</title>
  227.  
  228.     <p>There are four basic things that you may see in your browser
  229.     when you try to access your CGI program from the web:</p>
  230.  
  231.     <dl>
  232.       <dt>The output of your CGI program</dt>
  233.       <dd>Great! That means everything worked fine.</dd>
  234.  
  235.       <dt>The source code of your CGI program or a "POST Method Not
  236.       Allowed" message</dt>
  237.       <dd>That means that you have not properly configured Apache
  238.       to process your CGI program. Reread the section on 
  239.       <a href="#configuringapachetopermitcgi">configuring
  240.       Apache</a> and try to find what you missed.</dd>
  241.  
  242.       <dt>A message starting with "Forbidden"</dt>
  243.       <dd>That means that there is a permissions problem. Check the
  244.       <a href="#errorlogs">Apache error log</a> and the section below on
  245.       <a href="#permissions">file permissions</a>.</dd>
  246.  
  247.       <dt>A message saying "Internal Server Error"</dt>
  248.       <dd>If you check the 
  249.       <a href="#errorlogs">Apache error log</a>, you will probably
  250.       find that it says "Premature end of
  251.       script headers", possibly along with an error message
  252.       generated by your CGI program. In this case, you will want to
  253.       check each of the below sections to see what might be
  254.       preventing your CGI program from emitting the proper HTTP
  255.       headers.</dd>
  256.     </dl>
  257.  
  258.     <section id="permissions">
  259.       <title>File permissions</title>
  260.  
  261.       <p>Remember that the server does not run as you. That is,
  262.       when the server starts up, it is running with the permissions
  263.       of an unprivileged user - usually <code>nobody</code>, or
  264.       <code>www</code> - and so it will need extra permissions to
  265.       execute files that are owned by you. Usually, the way to give
  266.       a file sufficient permissions to be executed by <code>nobody</code>
  267.       is to give everyone execute permission on the file:</p>
  268.  
  269.       <example>
  270.         chmod a+x first.pl
  271.       </example>
  272.  
  273.       <p>Also, if your program reads from, or writes to, any other
  274.       files, those files will need to have the correct permissions
  275.       to permit this.</p>
  276.  
  277.       <p>The exception to this is when the server is configured to
  278.       use <a href="../suexec.html">suexec</a>. This program allows
  279.       CGI programs to be run under different
  280.       user permissions, depending on which virtual host or user
  281.       home directory they are located in. Suexec has very strict
  282.       permission checking, and any failure in that checking will
  283.       result in your CGI programs failing with an "Internal Server
  284.       Error". In this case, you will need to check the suexec log
  285.       file to see what specific security check is failing.</p>
  286.     </section>
  287.  
  288.     <section id="pathinformation">
  289.       <title>Path information</title>
  290.  
  291.       <p>When you run a program from your command line, you have
  292.       certain information that is passed to the shell without you
  293.       thinking about it. For example, you have a path, which tells
  294.       the shell where it can look for files that you reference.</p>
  295.  
  296.       <p>When a program runs through the web server as a CGI
  297.       program, it does not have that path. Any programs that you
  298.       invoke in your CGI program (like 'sendmail', for example)
  299.       will need to be specified by a full path, so that the shell
  300.       can find them when it attempts to execute your CGI
  301.       program.</p>
  302.  
  303.       <p>A common manifestation of this is the path to the script
  304.       interpreter (often <code>perl</code>) indicated in the first
  305.       line of your CGI program, which will look something like:</p>
  306.  
  307.       <example>
  308.         #!/usr/bin/perl
  309.       </example>
  310.  
  311.       <p>Make sure that this is in fact the path to the
  312.       interpreter.</p>
  313.     </section>
  314.  
  315.     <section id="syntaxerrors">
  316.       <title>Syntax errors</title>
  317.  
  318.       <p>Most of the time when a CGI program fails, it's because of
  319.       a problem with the program itself. This is particularly true
  320.       once you get the hang of this CGI stuff, and no longer make
  321.       the above two mistakes. Always attempt to run your program
  322.       from the command line before you test if via a browser. This
  323.       will eliminate most of your problems.</p>
  324.     </section>
  325.  
  326.     <section id="errorlogs">
  327.       <title>Error logs</title>
  328.  
  329.       <p>The error logs are your friend. Anything that goes wrong
  330.       generates message in the error log. You should always look
  331.       there first. If the place where you are hosting your web site
  332.       does not permit you access to the error log, you should
  333.       probably host your site somewhere else. Learn to read the
  334.       error logs, and you'll find that almost all of your problems
  335.       are quickly identified, and quickly solved.</p>
  336.     </section>
  337.   </section>
  338.  
  339.   <section id="behindscenes">
  340.     <title>What's going on behind the scenes?</title>
  341.  
  342.     <p>As you become more advanced in CGI programming, it will
  343.     become useful to understand more about what's happening behind
  344.     the scenes. Specifically, how the browser and server
  345.     communicate with one another. Because although it's all very
  346.     well to write a program that prints "Hello, World.", it's not
  347.     particularly useful.</p>
  348.  
  349.     <section id="env">
  350.       <title>Environment variables</title>
  351.  
  352.       <p>Environment variables are values that float around you as
  353.       you use your computer. They are useful things like your path
  354.       (where the computer searches for a the actual file
  355.       implementing a command when you type it), your username, your
  356.       terminal type, and so on. For a full list of your normal,
  357.       every day environment variables, type 
  358.       <code>env</code> at a command prompt.</p>
  359.  
  360.       <p>During the CGI transaction, the server and the browser
  361.       also set environment variables, so that they can communicate
  362.       with one another. These are things like the browser type
  363.       (Netscape, IE, Lynx), the server type (Apache, IIS, WebSite),
  364.       the name of the CGI program that is being run, and so on.</p>
  365.  
  366.       <p>These variables are available to the CGI programmer, and
  367.       are half of the story of the client-server communication. The
  368.       complete list of required variables is at 
  369.       <a href="http://hoohoo.ncsa.uiuc.edu/cgi/env.html"
  370.       >http://hoohoo.ncsa.uiuc.edu/cgi/env.html</a>.</p>
  371.  
  372.       <p>This simple Perl CGI program will display all of the
  373.       environment variables that are being passed around. Two
  374.       similar programs are included in the 
  375.       <code>cgi-bin</code>
  376.  
  377.       directory of the Apache distribution. Note that some
  378.       variables are required, while others are optional, so you may
  379.       see some variables listed that were not in the official list.
  380.       In addition, Apache provides many different ways for you to 
  381.       <a href="../env.html">add your own environment variables</a>
  382.       to the basic ones provided by default.</p>
  383.  
  384.       <example>
  385.         #!/usr/bin/perl<br />
  386.         print "Content-type: text/html\n\n";<br />
  387.         foreach $key (keys %ENV) {<br />
  388.         <indent>
  389.           print "$key --> $ENV{$key}<br>";<br />
  390.         </indent>
  391.         }
  392.       </example>
  393.     </section>
  394.  
  395.     <section id="stdin">
  396.       <title>STDIN and STDOUT</title>
  397.  
  398.       <p>Other communication between the server and the client
  399.       happens over standard input (<code>STDIN</code>) and standard
  400.       output (<code>STDOUT</code>). In normal everyday context, 
  401.       <code>STDIN</code> means the keyboard, or a file that a 
  402.       program is given to act on, and <code>STDOUT</code>
  403.       usually means the console or screen.</p> 
  404.  
  405.       <p>When you <code>POST</code> a web form to a CGI program,
  406.       the data in that form is bundled up into a special format
  407.       and gets delivered to your CGI program over <code>STDIN</code>.
  408.       The program then can process that data as though it was
  409.       coming in from the keyboard, or from a file</p>
  410.  
  411.       <p>The "special format" is very simple. A field name and
  412.       its value are joined together with an equals (=) sign, and
  413.       pairs of values are joined together with an ampersand
  414.       (&). Inconvenient characters like spaces, ampersands, and
  415.       equals signs, are converted into their hex equivalent so that
  416.       they don't gum up the works. The whole data string might look
  417.       something like:</p>
  418.  
  419.       <example>
  420.         name=Rich%20Bowen&city=Lexington&state=KY&sidekick=Squirrel%20Monkey
  421.       </example>
  422.  
  423.       <p>You'll sometimes also see this type of string appended to
  424.       the a URL. When that is done, the server puts that string
  425.       into the environment variable called 
  426.       <code>QUERY_STRING</code>. That's called a <code>GET</code>
  427.       request. Your HTML form specifies whether a <code>GET</code>
  428.       or a <code>POST</code> is used to deliver the data, by setting the 
  429.       <code>METHOD</code> attribute in the <code>FORM</code> tag.</p>
  430.  
  431.       <p>Your program is then responsible for splitting that string
  432.       up into useful information. Fortunately, there are libraries
  433.       and modules available to help you process this data, as well
  434.       as handle other of the aspects of your CGI program.</p>
  435.     </section>
  436.   </section>
  437.  
  438.   <section id="libraries">
  439.     <title>CGI modules/libraries</title>
  440.  
  441.     <p>When you write CGI programs, you should consider using a
  442.     code library, or module, to do most of the grunt work for you.
  443.     This leads to fewer errors, and faster development.</p>
  444.  
  445.     <p>If you're writing CGI programs in Perl, modules are
  446.     available on <a href="http://www.cpan.org/">CPAN</a>. The most
  447.     popular module for this purpose is <code>CGI.pm</code>. You might
  448.     also consider <code>CGI::Lite</code>, which implements a minimal
  449.     set of functionality, which is all you need in most programs.</p>
  450.  
  451.     <p>If you're writing CGI programs in C, there are a variety of
  452.     options. One of these is the <code>CGIC</code> library, from 
  453.     <a href="http://www.boutell.com/cgic/"
  454.     >http://www.boutell.com/cgic/</a>.</p>
  455.   </section>
  456.  
  457.   <section id="moreinfo">
  458.     <title>For more information</title>
  459.  
  460.     <p>There are a large number of CGI resources on the web. You
  461.     can discuss CGI problems with other users on the Usenet group
  462.     <a href="news:comp.infosystems.www.authoring.cgi"
  463.     >comp.infosystems.www.authoring.cgi</a>. And the -servers mailing
  464.     list from the HTML Writers Guild is a great source of answers
  465.     to your questions. You can find out more at 
  466.     <a href="http://www.hwg.org/lists/hwg-servers/"
  467.     >http://www.hwg.org/lists/hwg-servers/</a>.</p>
  468.  
  469.     <p>And, of course, you should probably read the CGI
  470.     specification, which has all the details on the operation of
  471.     CGI programs. You can find the original version at the 
  472.     <a href="http://hoohoo.ncsa.uiuc.edu/cgi/interface.html"
  473.     >NCSA</a> and there is an updated draft at the 
  474.     <a href="http://web.golux.com/coar/cgi/">Common Gateway
  475.     Interface RFC project</a>.</p>
  476.  
  477.     <p>When you post a question about a CGI problem that you're
  478.     having, whether to a mailing list, or to a newsgroup, make sure
  479.     you provide enough information about what happened, what you
  480.     expected to happen, and how what actually happened was
  481.     different, what server you're running, what language your CGI
  482.     program was in, and, if possible, the offending code. This will
  483.     make finding your problem much simpler.</p>
  484.  
  485.     <p>Note that questions about CGI problems should <strong>never</strong>
  486.     be posted to the Apache bug database unless you are sure you
  487.     have found a problem in the Apache source code.</p>
  488.   </section>
  489. </manualpage>
  490.  
  491. <?xml version='1.0' encoding='iso-2022-jp' ?>
  492. <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
  493. <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
  494. <manualpage metafile="cgi.xml.meta">
  495. <!-- English revision: 1.1 -->
  496.  
  497.   <title>Apache Tutorial: CGI $B$K$h$kF0E*%3%s%F%s%D(B</title>
  498.  
  499.   <section id="intro">
  500.     <title>$B$O$8$a$K(B</title>
  501.  
  502.     <related>
  503.       <modulelist>
  504.         <module>mod_alias</module>
  505.  
  506.         <module>mod_cgi</module>
  507.       </modulelist>
  508.  
  509.       <directivelist>
  510.         <directive module="mod_mime">AddHandler</directive>
  511.  
  512.         <directive module="core">Options</directive>
  513.  
  514.         <directive module="mod_alias">ScriptAlias</directive>
  515.       </directivelist>
  516.     </related>
  517.  
  518.     <p>CGI (Common Gateway Interface) $B$O!"%&%'%V%5!<%P$,(B
  519.     $B%3%s%F%s%D@8@.$r$9$k30It%W%m%0%i%`$H6(D4$7$FF0:n$9$k$?$a$NJ}K!$r(B
  520.     $BDj5A$7$F$$$^$9!#$=$N%W%m%0%i%`$O$7$P$7$P(B CGI $B%W%m%0%i%`$d(B
  521.     CGI $B%9%/%j%W%H$H8F$P$l$^$9!#(BCGI $B$O!"%&%'%V%5%$%H$KF0E*$J(B
  522.     $B%3%s%F%s%D$rCV$/$?$a$N:G$b4JC1$G0lHLE*$JJ}K!$G$9!#$3$N%I%-%e%a%s%H$O!"(B
  523.     Apache $B%&%'%V%5!<%P$G(B CGI $B$r@_Dj$7!"(B
  524.     CGI $B%W%m%0%i%`$r=q$-;O$a$k$?$a$NF~Lg=q$H$J$k$G$7$g$&!#(B</p>
  525.   </section>
  526.  
  527.   <section id="configuring">
  528.     <title>CGI $B$r5v2D$9$k$h$&$K(B Apache $B$r@_Dj$9$k(B</title>
  529.  
  530.     <p>CGI $B%W%m%0%i%`$r@5$7$/F0:n$5$;$k$K$O!"(BCGI $B$r5v2D$9$k$h$&$K(B
  531.     Apache $B$N@_Dj$r9T$&I,MW$,$"$j$^$9!#(B
  532.     $B$3$l$r9T$J$&$?$a$NJ}K!$,$$$/$D$+$"$j$^$9!#(B</p>
  533.  
  534.     <section id="scriptalias">
  535.       <title>ScriptAlias</title>
  536.  
  537.       <p><directive module="mod_alias">ScriptAlias</directive>
  538.       $B%G%#%l%/%F%#%V$r;HMQ$7$F!"(B
  539.       CGI $B%W%m%0%i%`MQ$NFCJL$JJL%G%#%l%/%H%j$r(B Apache $B$K@_Dj$7$^$9!#(B
  540.       Apache $B$O!"$3$N%G%#%l%/%H%jCf$NA4$F$N%U%!%$%k$r(B CGI
  541.       $B%W%m%0%i%`$G$"$k$H2>Dj$7$^$9!#(B
  542.       $B$=$7$F!"$3$NFCJL$J%j%=!<%9$,%/%i%$%"%s%H$+$iMW5a$5$l$k$H!"(B
  543.       $B$=$N%W%m%0%i%`$N<B9T$r;n$_$^$9!#(B</p>
  544.  
  545.       <p><directive module="mod_alias">ScriptAlias</directive>
  546.       $B%G%#%l%/%F%#%V$O0J2<$N$h$&$K;HMQ$7$^$9(B:</p>
  547.  
  548.       <example>ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/</example>
  549.  
  550.       <p>$B%G%U%)%k%H0LCV$K(B Apache $B$r%$%s%9%H!<%k$7$?$J$i$P!"(B
  551.       $B$3$NNc