diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-07-27 20:03:18 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2005-07-27 20:03:18 +0000 |
commit | 43f4360318806f8329871748ee96168bdf9edfda (patch) | |
tree | 8149b18d28c10f58adcde4b810362ed778beb9b7 | |
parent | 3184c655b8f6643d96bbf0c8e31388c1c587fdfe (diff) |
from tamas tevesz:
more altlangs removal, missed from previous sweep;
21 files changed, 0 insertions, 4453 deletions
diff --git a/usr.sbin/httpd/htdocs/manual/howto/cgi.html.en b/usr.sbin/httpd/htdocs/manual/howto/cgi.html.en deleted file mode 100644 index 056f5b9b08b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/howto/cgi.html.en +++ /dev/null @@ -1,563 +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>Apache Tutorial: Dynamic Content with CGI</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - - <h1 align="CENTER">Dynamic Content with CGI</h1> - <a id="__index__" name="__index__"></a> <!-- INDEX BEGIN --> - - - <ul> - <li><a href="#dynamiccontentwithcgi">Dynamic Content with - CGI</a></li> - - <li> - <a href="#configuringapachetopermitcgi">Configuring Apache - to permit CGI</a> - - <ul> - <li><a href="#scriptalias">ScriptAlias</a></li> - - <li> - <a href="#cgioutsideofscriptaliasdirectories">CGI - outside of ScriptAlias directories</a> - - <ul> - <li><a - href="#explicitlyusingoptionstopermitcgiexecution">Explicitly - using Options to permit CGI execution</a></li> - - <li><a href="#htaccessfiles">.htaccess files</a></li> - </ul> - </li> - </ul> - </li> - - <li> - <a href="#writingacgiprogram">Writing a CGI program</a> - - <ul> - <li><a href="#yourfirstcgiprogram">Your first CGI - program</a></li> - </ul> - </li> - - <li> - <a href="#butitsstillnotworking">But it's still not - working!</a> - - <ul> - <li><a href="#filepermissions">File permissions</a></li> - - <li><a href="#pathinformation">Path information</a></li> - - <li><a href="#syntaxerrors">Syntax errors</a></li> - - <li><a href="#errorlogs">Error logs</a></li> - </ul> - </li> - - <li> - <a href="#whatsgoingonbehindthescenes">What's going on - behind the scenes?</a> - - <ul> - <li><a href="#environmentvariables">Environment - variables</a></li> - - <li><a href="#stdinandstdout">STDIN and STDOUT</a></li> - </ul> - </li> - - <li><a href="#cgimoduleslibraries">CGI - modules/libraries</a></li> - - <li><a href="#formoreinformation">For more - information</a></li> - </ul> - <!-- INDEX END --> - <hr /> - - <h2><a id="dynamiccontentwithcgi" - name="dynamiccontentwithcgi">Dynamic Content with CGI</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="../mod/mod_alias.html">mod_alias</a><br /> - <a href="../mod/mod_cgi.html">mod_cgi</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a - href="../mod/mod_mime.html#addhandler">AddHandler</a><br /> - <a href="../mod/core.html#options">Options</a><br /> - <a - href="../mod/mod_alias.html#scriptalias">ScriptAlias</a><br /> - </td> - </tr> - </table> - - <p>The CGI (Common Gateway Interface) defines a way for a web - server to interact with external content-generating programs, - which are often referred to as CGI programs or CGI scripts. It - is the simplest, and most common, way to put dynamic content on - your web site. This document will be an introduction to setting - up CGI on your Apache web server, and getting started writing - CGI programs.</p> - <hr /> - - <h2><a id="configuringapachetopermitcgi" - name="configuringapachetopermitcgi">Configuring Apache to - permit CGI</a></h2> - - <p>In order to get your CGI programs to work properly, you'll - need to have Apache configured to permit CGI execution. There - are several ways to do this.</p> - - <h3><a id="scriptalias" name="scriptalias">ScriptAlias</a></h3> - - <p>The <code>ScriptAlias</code> directive tells Apache that a - particular directory is set aside for CGI programs. Apache will - assume that every file in this directory is a CGI program, and - will attempt to execute it, when that particular resource is - requested by a client.</p> - - <p>The <code>ScriptAlias</code> directive looks like:</p> -<pre> - ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ -</pre> - - <p>The example shown is from your default - <code>httpd.conf</code> configuration file, if you installed - Apache in the default location. The <code>ScriptAlias</code> - directive is much like the <code>Alias</code> directive, which - defines a URL prefix that is to mapped to a particular - directory. <code>Alias</code> and <code>ScriptAlias</code> are - usually used for directories that are outside of the - <code>DocumentRoot</code> directory. The difference between - <code>Alias</code> and <code>ScriptAlias</code> is that - <code>ScriptAlias</code> has the added meaning that everything - under that URL prefix will be considered a CGI program. So, the - example above tells Apache that any request for a resource - beginning with <code>/cgi-bin/</code> should be served from the - directory <code>/usr/local/apache/cgi-bin/</code>, and should - be treated as a CGI program.</p> - - <p>For example, if the URL - <code>http://www.example.com/cgi-bin/test.pl</code> is - requested, Apache will attempt to execute the file - <code>/usr/local/apache/cgi-bin/test.pl</code> and return the - output. Of course, the file will have to exist, and be - executable, and return output in a particular way, or Apache - will return an error message.</p> - - <h3><a id="cgioutsideofscriptaliasdirectories" - name="cgioutsideofscriptaliasdirectories">CGI outside of - ScriptAlias directories</a></h3> - - <p>CGI programs are often restricted to - <code>ScriptAlias</code>'ed directories for security reasons. - In this way, administrators can tightly control who is allowed - to use CGI programs. However, if the proper security - precautions are taken, there is no reason why CGI programs - cannot be run from arbitrary directories. For example, you may - wish to let users have web content in their home directories - with the <code>UserDir</code> directive. If they want to have - their own CGI programs, but don't have access to the main - <code>cgi-bin</code> directory, they will need to be able to - run CGI programs elsewhere.</p> - - <h3><a id="explicitlyusingoptionstopermitcgiexecution" - name="explicitlyusingoptionstopermitcgiexecution">Explicitly - using Options to permit CGI execution</a></h3> - - <p>You could explicitly use the <code>Options</code> directive, - inside your main server configuration file, to specify that CGI - execution was permitted in a particular directory:</p> -<pre> - <Directory /usr/local/apache/htdocs/somedir> - Options +ExecCGI - </Directory> -</pre> - - <p>The above directive tells Apache to permit the execution of - CGI files. You will also need to tell the server what files are - CGI files. The following <code>AddHandler</code> directive - tells the server to treat all files with the <code>cgi</code> - or <code>pl</code> extension as CGI programs:</p> -<pre> - AddHandler cgi-script cgi pl -</pre> - - <h3><a id="htaccessfiles" name="htaccessfiles">.htaccess - files</a></h3> - - <p>A <code>.htaccess</code> file is a way to set configuration - directives on a per-directory basis. When Apache serves a - resource, it looks in the directory from which it is serving a - file for a file called <code>.htaccess</code>, and, if it finds - it, it will apply directives found therein. - <code>.htaccess</code> files can be permitted with the - <code>AllowOverride</code> directive, which specifies what - types of directives can appear in these files, or if they are - not allowed at all. To permit the directive we will need for - this purpose, the following configuration will be needed in - your main server configuration:</p> -<pre> - AllowOverride Options -</pre> - - <p>In the <code>.htaccess</code> file, you'll need the - following directive:</p> -<pre> - Options +ExecCGI -</pre> - - <p>which tells Apache that execution of CGI programs is - permitted in this directory.</p> - <hr /> - - <h2><a id="writingacgiprogram" - name="writingacgiprogram">Writing a CGI program</a></h2> - - <p>There are two main differences between ``regular'' - programming, and CGI programming.</p> - - <p>First, all output from your CGI program must be preceded by - a MIME-type header. This is HTTP header that tells the client - what sort of content it is receiving. Most of the time, this - will look like:</p> -<pre> - Content-type: text/html -</pre> - - <p>Secondly, your output needs to be in HTML, or some other - format that a browser will be able to display. Most of the - time, this will be HTML, but occasionally you might write a CGI - program that outputs a gif image, or other non-HTML - content.</p> - - <p>Apart from those two things, writing a CGI program will look - a lot like any other program that you might write.</p> - - <h3><a id="yourfirstcgiprogram" name="yourfirstcgiprogram">Your - first CGI program</a></h3> - - <p>The following is an example CGI program that prints one line - to your browser. Type in the following, save it to a file - called <code>first.pl</code>, and put it in your - <code>cgi-bin</code> directory.</p> -<pre> - #!/usr/bin/perl - print "Content-type: text/html\r\n\r\n"; - print "Hello, World."; -</pre> - - <p>Even if you are not familiar with Perl, you should be able - to see what is happening here. The first line tells Apache (or - whatever shell you happen to be running under) that this - program can be executed by feeding the file to the interpreter - found at the location <code>/usr/bin/perl</code>. The second - line prints the content-type declaration we talked about, - followed by two carriage-return newline pairs. This puts a - blank line after the header, to indicate the end of the HTTP - headers, and the beginning of the body. The third line prints - the string ``Hello, World.'' And that's the end of it.</p> - - <p>If you open your favorite browser and tell it to get the - address</p> -<pre> - http://www.example.com/cgi-bin/first.pl -</pre> - - <p>or wherever you put your file, you will see the one line - <code>Hello, World.</code> appear in your browser window. It's - not very exciting, but once you get that working, you'll have a - good chance of getting just about anything working.</p> - <hr /> - - <h2><a id="butitsstillnotworking" - name="butitsstillnotworking">But it's still not - working!</a></h2> - - <p>There are four basic things that you may see in your browser - when you try to access your CGI program from the web:</p> - - <dl> - <dt>The output of your CGI program</dt> - - <dd>Great! That means everything worked fine.<br /> - <br /> - </dd> - - <dt>The source code of your CGI program or a "POST Method Not - Allowed" message</dt> - - <dd>That means that you have not properly configured Apache - to process your CGI program. Reread the section on <a - href="#configuringapachetopermitcgi">configuring Apache</a> - and try to find what you missed.<br /> - <br /> - </dd> - - <dt>A message starting with "Forbidden"</dt> - - <dd>That means that there is a permissions problem. Check the - <a href="#errorlogs">Apache error log</a> and the section - below on <a href="#filepermissions">file - permissions</a>.<br /> - <br /> - </dd> - - <dt>A message saying "Internal Server Error"</dt> - - <dd>If you check the <a href="#errorlogs">Apache error - log</a>, you will probably find that it says "Premature end - of script headers", possibly along with an error message - generated by your CGI program. In this case, you will want to - check each of the below sections to see what might be - preventing your CGI program from emitting the proper HTTP - headers.</dd> - </dl> - - <h3><a id="filepermissions" name="filepermissions">File - permissions</a></h3> - - <p>Remember that the server does not run as you. That is, when - the server starts up, it is running with the permissions of an - unprivileged user - usually ``nobody'', or ``www'' - and so it - will need extra permissions to execute files that are owned by - you. Usually, the way to give a file sufficient permissions to - be executed by ``nobody'' is to give everyone execute - permission on the file:</p> -<pre> - chmod a+x first.pl -</pre> - - <p>Also, if your program reads from, or writes to, any other - files, those files will need to have the correct permissions to - permit this.</p> - - <p>The exception to this is when the server is configured to - use <a href="../suexec.html">suexec</a>. This program allows - CGI programs to be run under different user permissions, - depending on which virtual host or user home directory they are - located in. Suexec has very strict permission checking, and any - failure in that checking will result in your CGI programs - failing with an "Internal Server Error". In this case, you will - need to check the suexec log file to see what specific security - check is failing.</p> - - <h3><a id="pathinformation" name="pathinformation">Path - information</a></h3> - - <p>When you run a program from your command line, you have - certain information that is passed to the shell without you - thinking about it. For example, you have a path, which tells - the shell where it can look for files that you reference.</p> - - <p>When a program runs through the web server as a CGI program, - it does not have that path. Any programs that you invoke in - your CGI program (like 'sendmail', for example) will need to be - specified by a full path, so that the shell can find them when - it attempts to execute your CGI program.</p> - - <p>A common manifestation of this is the path to the script - interpreter (often <code>perl</code>) indicated in the first - line of your CGI program, which will look something like:</p> -<pre> - #!/usr/bin/perl -</pre> - - <p>Make sure that this is in fact the path to the - interpreter.</p> - - <h3><a id="syntaxerrors" name="syntaxerrors">Syntax - errors</a></h3> - - <p>Most of the time when a CGI program fails, it's because of a - problem with the program itself. This is particularly true once - you get the hang of this CGI stuff, and no longer make the - above two mistakes. Always attempt to run your program from the - command line before you test if via a browser. This will - eliminate most of your problems.</p> - - <h3><a id="errorlogs" name="errorlogs">Error logs</a></h3> - - <p>The error logs are your friend. Anything that goes wrong - generates message in the error log. You should always look - there first. If the place where you are hosting your web site - does not permit you access to the error log, you should - probably host your site somewhere else. Learn to read the error - logs, and you'll find that almost all of your problems are - quickly identified, and quickly solved.</p> - <hr /> - - <h2><a id="whatsgoingonbehindthescenes" - name="whatsgoingonbehindthescenes">What's going on behind the - scenes?</a></h2> - - <p>As you become more advanced in CGI programming, it will - become useful to understand more about what's happening behind - the scenes. Specifically, how the browser and server - communicate with one another. Because although it's all very - well to write a program that prints ``Hello, World.'', it's not - particularly useful.</p> - - <h3><a id="environmentvariables" - name="environmentvariables">Environment variables</a></h3> - - <p>Environment variables are values that float around you as - you use your computer. They are useful things like your path - (where the computer searches for a the actual file implementing - a command when you type it), your username, your terminal type, - and so on. For a full list of your normal, every day - environment variables, type <code>env</code> at a command - prompt.</p> - - <p>During the CGI transaction, the server and the browser also - set environment variables, so that they can communicate with - one another. These are things like the browser type (Netscape, - IE, Lynx), the server type (Apache, IIS, WebSite), the name of - the CGI program that is being run, and so on.</p> - - <p>These variables are available to the CGI programmer, and are - half of the story of the client-server communication. The - complete list of required variables is at <a - href="http://hoohoo.ncsa.uiuc.edu/cgi/env.html">http://hoohoo.ncsa.uiuc.edu/cgi/env.html</a></p> - - <p>This simple Perl CGI program will display all of the - environment variables that are being passed around. Two similar - programs are included in the <code>cgi-bin</code> directory of - the Apache distribution. Note that some variables are required, - while others are optional, so you may see some variables listed - that were not in the official list. In addition, Apache - provides many different ways for you to <a - href="../env.html">add your own environment variables</a> to - the basic ones provided by default.</p> -<pre> - #!/usr/bin/perl - print "Content-type: text/html\n\n"; - foreach $key (keys %ENV) { - print "$key --> $ENV{$key}<br>"; - } -</pre> - - <h3><a id="stdinandstdout" name="stdinandstdout">STDIN and - STDOUT</a></h3> - - <p>Other communication between the server and the client - happens over standard input (<code>STDIN</code>) and standard - output (<code>STDOUT</code>). In normal everyday context, - <code>STDIN</code> means the keyboard, or a file that a program - is given to act on, and <code>STDOUT</code> usually means the - console or screen.</p> - - <p>When you <code>POST</code> a web form to a CGI program, the - data in that form is bundled up into a special format and gets - delivered to your CGI program over <code>STDIN</code>. The - program then can process that data as though it was coming in - from the keyboard, or from a file</p> - - <p>The ``special format'' is very simple. A field name and its - value are joined together with an equals (=) sign, and pairs of - values are joined together with an ampersand (&). - Inconvenient characters like spaces, ampersands, and equals - signs, are converted into their hex equivalent so that they - don't gum up the works. The whole data string might look - something like:</p> -<pre> - name=Rich%20Bowen&city=Lexington&state=KY&sidekick=Squirrel%20Monkey -</pre> - - <p>You'll sometimes also see this type of string appended to - the a URL. When that is done, the server puts that string into - the environment variable called <code>QUERY_STRING</code>. - That's called a <code>GET</code> request. Your HTML form - specifies whether a <code>GET</code> or a <code>POST</code> is - used to deliver the data, by setting the <code>METHOD</code> - attribute in the <code>FORM</code> tag.</p> - - <p>Your program is then responsible for splitting that string - up into useful information. Fortunately, there are libraries - and modules available to help you process this data, as well as - handle other of the aspects of your CGI program.</p> - <hr /> - - <h2><a id="cgimoduleslibraries" name="cgimoduleslibraries">CGI - modules/libraries</a></h2> - - <p>When you write CGI programs, you should consider using a - code library, or module, to do most of the grunt work for you. - This leads to fewer errors, and faster development.</p> - - <p>If you're writing CGI programs in Perl, modules are - available on <a href="http://www.cpan.org/">CPAN</a>. The most - popular module for this purpose is CGI.pm. You might also - consider CGI::Lite, which implements a minimal set of - functionality, which is all you need in most programs.</p> - - <p>If you're writing CGI programs in C, there are a variety of - options. One of these is the CGIC library, from <a - href="http://www.boutell.com/cgic/">http://www.boutell.com/cgic/</a></p> - <hr /> - - <h2><a id="formoreinformation" name="formoreinformation">For - more information</a></h2> - - <p>There are a large number of CGI resources on the web. You - can discuss CGI problems with other users on the Usenet group - comp.infosystems.www.authoring.cgi. And the -servers mailing - list from the HTML Writers Guild is a great source of answers - to your questions. You can find out more at <a - href="http://www.hwg.org/lists/hwg-servers/">http://www.hwg.org/lists/hwg-servers/</a></p> - - <p>And, of course, you should probably read the CGI - specification, which has all the details on the operation of - CGI programs. You can find the original version at the <a - href="http://hoohoo.ncsa.uiuc.edu/cgi/interface.html">NCSA</a> - and there is an updated draft at the <a - href="http://web.golux.com/coar/cgi/">Common Gateway Interface - RFC project</a>.</p> - - <p>When you post a question about a CGI problem that you're - having, whether to a mailing list, or to a newsgroup, make sure - you provide enough information about what happened, what you - expected to happen, and how what actually happened was - different, what server you're running, what language your CGI - program was in, and, if possible, the offending code. This will - make finding your problem much simpler.</p> - - <p>Note that questions about CGI problems should - <strong>never</strong> be posted to the Apache bug database - unless you are sure you have found a problem in the Apache - source code.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/howto/cgi.html.ja.jis b/usr.sbin/httpd/htdocs/manual/howto/cgi.html.ja.jis deleted file mode 100644 index 214fa663aa8..00000000000 --- a/usr.sbin/httpd/htdocs/manual/howto/cgi.html.ja.jis +++ /dev/null @@ -1,562 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Apache Tutorial: CGI $B$K$h$kF0E*%3%s%F%s%D(B</title> - - </head> - <!-- English revision: 1.8 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - - <h1 align="center">CGI $B$K$h$kF0E*%3%s%F%s%D(B</h1> - <a id="__index__" name="__index__"></a> <!-- INDEX BEGIN --> - - - <ul> - <li><a href="#dynamiccontentwithcgi">CGI - $B$K$h$kF0E*%3%s%F%s%D(B</a></li> - - <li> - <a href="#configuringapachetopermitcgi">CGI $B$r5v2D$9$k$h$&$K(B - Apache $B$r@_Dj$9$k(B</a> - - <ul> - <li><a href="#scriptalias">ScriptAlias</a></li> - - <li> - <a href="#cgioutsideofscriptaliasdirectories" - >ScriptAlias $B%G%#%l%/%H%j30$N(B CGI</a> - - <ul> - <li><a - href="#explicitlyusingoptionstopermitcgiexecution">CGI - $B$N<B9T$r2DG=$K$9$k$?$a$K(B Options $B$rL@<(E*$K;HMQ$9$k(B</a></li> - - <li><a href="#htaccessfiles">.htaccess $B%U%!%$%k(B</a></li> - </ul> - </li> - </ul> - </li> - - <li> - <a href="#writingacgiprogram">CGI $B%W%m%0%i%`$r=q$/(B</a> - - <ul> - <li><a href="#yourfirstcgiprogram">$B$"$J$?$N:G=i$N(B CGI - $B%W%m%0%i%`(B</a></li> - </ul> - </li> - - <li> - <a href="#butitsstillnotworking">$B$7$+$7!"$^$@F0$+$J$$(B !</a> - - - <ul> - <li><a href="#filepermissions">$B%U%!%$%k$N%Q!<%_%C%7%g%s(B</a></li> - - <li><a href="#pathinformation">$B%Q%9>pJs(B</a></li> - - <li><a href="#syntaxerrors">$B9=J8%(%i!<(B</a></li> - - <li><a href="#errorlogs">$B%(%i!<%m%0(B</a></li> - </ul> - </li> - - <li> - <a href="#whatsgoingonbehindthescenes" - >$BN"$G2?$,5/$3$C$F$$$k$N$+(B?</a> - - <ul> - <li><a href="#environmentvariables">$B4D6-JQ?t(B</a></li> - - - <li><a href="#stdinandstdout">$BI8=`F~=PNO(B</a></li> - </ul> - </li> - - <li><a href="#cgimoduleslibraries">CGI - $B%b%8%e!<%k(B/$B%i%$%V%i%j(B</a></li> - - <li><a href="#formoreinformation">$B99$J$k>pJs(B</a></li> - </ul> - - <!-- INDEX END --> - <hr /> - - <h2><a id="dynamiccontentwithcgi" name="dynamiccontentwithcgi">CGI - $B$K$h$kF0E*%3%s%F%s%D(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="../mod/mod_alias.html">mod_alias</a><br /> - <a href="../mod/mod_cgi.html">mod_cgi</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a - href="../mod/mod_mime.html#addhandler">AddHandler</a><br /> - <a href="../mod/core.html#options">Options</a><br /> - <a - href="../mod/mod_alias.html#scriptalias">ScriptAlias</a><br /> - </td> - </tr> - </table> - - <p>CGI (Common Gateway Interface) $B$O!"%&%'%V%5!<%P$,(B - $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 - $BDj5A$7$F$$$^$9!#$=$N%W%m%0%i%`$O$7$P$7$P(B CGI $B%W%m%0%i%`$d(B CGI - $B%9%/%j%W%H$H8F$P$l$^$9!#(BCGI $B$O!"%&%'%V%5%$%H$KF0E*$J%3%s%F%s%D$r(B - $BCV$/$?$a$N:G$b4JC1$G0lHLE*$JJ}K!$G$9!#$3$N%I%-%e%a%s%H$O!"(B - Apache $B%&%'%V%5!<%P$G(B CGI $B$r@_Dj$7!"(B - CGI $B%W%m%0%i%`$r=q$-;O$a$k$?$a$NF~Lg=q$H$J$k$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="configuringapachetopermitcgi" - name="configuringapachetopermitcgi">CGI $B$r5v2D$9$k$h$&$K(B - Apache $B$r@_Dj$9$k(B</a></h2> - - <p>CGI $B%W%m%0%i%`$r@5$7$/F0:n$5$;$k$K$O!"(BCGI $B$r5v2D$9$k$h$&$K(B - Apache $B$N@_Dj$r9T$&I,MW$,$"$j$^$9!#(B - $B$3$l$r9T$J$&$?$a$NJ}K!$,$$$/$D$+$"$j$^$9!#(B</p> - - <h3><a id="scriptalias" name="scriptalias">ScriptAlias</a></h3> - - <p><code>ScriptAlias</code> $B%G%#%l%/%F%#%V$r;HMQ$7$F!"(B - CGI $B%W%m%0%i%`MQ$NFCJL$JJL%G%#%l%/%H%j$r(B Apache $B$K@_Dj$7$^$9!#(B - Apache $B$O!"$3$N%G%#%l%/%H%jCf$NA4$F$N%U%!%$%k$r(B CGI - $B%W%m%0%i%`$G$"$k$H2>Dj$7$^$9!#$=$7$F!"$3$NFCJL$J%j%=!<%9$,(B - $B%/%i%$%"%s%H$+$iMW5a$5$l$k$H!"$=$N%W%m%0%i%`$N<B9T$r;n$_$^$9!#(B</p> - - <p><code>ScriptAlias</code> $B%G%#%l%/%F%#%V$O0J2<$N$h$&$K;HMQ$7$^$9(B:</p> -<pre> - ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ -</pre> - - <p>$B%G%U%)%k%H0LCV$K(B Apache $B$r%$%s%9%H!<%k$7$?$J$i$P!"(B - $B$3$NNc$O%G%U%)%k%H>uBV$N(B <code>httpd.conf</code> - $B@_Dj%U%!%$%k$K4^$^$l$F$$$^$9!#(B<code>ScriptAlias</code> - $B%G%#%l%/%F%#%V$O!"(BURL $B$NA0$KIU2C$9$k%G%#%l%/%H%j$rDj5A$9$k(B - <code>Alias</code> $B%G%#%l%/%F%#%V$H$+$J$j;w$F$$$^$9!#(B - <code>Alias</code> $B$H(B <code>ScriptAlias</code> $B$ODL>o!"(B - <code>DocumentRoot</code> - $B%G%#%l%/%H%j30$N%G%#%l%/%H%j$N$?$a$K;HMQ$5$l$^$9!#(B - <code>Alias</code> $B$H(B <code>ScriptAlias</code> $B$H$N:9$O!"(B - <code>ScriptAlias</code> $B$,@\F,<-$G;O$^$k$9$Y$F$N(B URL $B$O(B CGI - $B%W%m%0%i%`$H$_$J$5$l$k$H$$$&DI2C$N0UL#$r4^$s$G$$$k$3$H$G$9!#(B - $B=>$C$F!">e5-$NNc$G$O!"(B<code>/cgi-bin/</code> - $B$G;O$^$k%j%=!<%9$X$N$"$i$f$k%j%/%(%9%H$KBP$7$F!"%G%#%l%/%H%j(B - <code>/usr/local/apache/cgi-bin/</code> $B$+$iDs6!$7!"$=$l$i$r(B - CGI $B%W%m%0%i%`$H$7$F07$&$h$&(B Apache $B$K<($7$^$9!#(B</p> - - <p>$BNc$($P!"(BURL <code>http://dev.rcbowen.com/cgi-bin/test.pl</code> - $B$,MW5a$5$l$?>l9g!"(BApache $B$O(B $B%U%!%$%k(B - <code>/usr/local/apache/cgi-bin/test.pl</code> - $B$r<B9T$7!"$=$N=PNO$rJV$9$3$H$r;n$_$^$9!#(B - $B$b$A$m$s!"%U%!%$%k$,B8:_$7!"<B9T2DG=$G$"$j!"(B - $B7h$a$i$l$?J}K!$G=PNO$rJV$7$^$9!#(B - $B$=$&$G$J$1$l$P!"(BApache $B$O%(%i!<%a%C%;!<%8$rJV$7$^$9!#(B</p> - - <h3><a id="cgioutsideofscriptaliasdirectories" - name="cgioutsideofscriptaliasdirectories"> - ScriptAlias $B%G%#%l%/%H%j30$N(B CGI</a></h3> - - <p>CGI $B%W%m%0%i%`$O!"%;%-%e%j%F%#>e$NM}M3$+$i(B <code>ScriptAlias</code> - $B$5$l$?%G%#%l%/%H%j$K@)8B$5$l$k$3$H$,$7$P$7$P$"$j$^$9!#$3$NJ}K!$K$h$j!"(B - CGI $B%W%m%0%i%`$r;HMQ$G$-$k%f!<%6$r4IM}<T$,87$7$/@)8f$9$k$3$H$,$G$-$^$9!#(B - $B$7$+$7$J$,$i!"E,@Z$J%;%-%e%j%F%#;vA0BP:v$,$H$i$l$k$J$i$P!"(BCGI - $B%W%m%0%i%`$rG$0U$N%G%#%l%/%H%j$G<B9T$G$-$J$$$h$&$K$9$kM}M3$O$"$j$^$;$s!#(B - $BNc$($P!"%f!<%6$K(B <code>UserDir</code> $B%G%#%l%/%F%#%V$G(B - $BH`$i$N%[!<%`%G%#%l%/%H%jG[2<$K%&%'%V%3%s%F%s%D$r;}$?$;$?$$$H$7$^$9!#(B - $B$b$7!"H`$i$,(B CGI $B%W%m%0%i%`$r;}$D$3$H$rK>$s$G$$$F$b!"%a%$%s$N(B - <code>cgi-bin</code> $B%G%#%l%/%H%j$X$N%"%/%;%9$,$G$-$J$$>l9g!"(BCGI - $B%W%m%0%i%`$r<B9T$9$k$3$H$,$G$-$kB>$N>l=j$,I,MW$K$J$j$^$9!#(B - </p> - - <h3><a id="explicitlyusingoptionstopermitcgiexecution" - name="explicitlyusingoptionstopermitcgiexecution"> - CGI $B$N<B9T$r2DG=$K$9$k$?$a$K(B Options $B$rL@<(E*$K;HMQ$9$k(B</a></h3> - - <p>$B%5!<%P$N%a%$%s$N@_Dj%U%!%$%kCf$G(B <code>Options</code> - $B%G%#%l%/%F%#%V$rL@<(E*$K;HMQ$9$k$3$H$G!"FCDj$N%G%#%l%/%H%jG[2<$G(B - CGI $B$N<B9T$r5v2D$9$k$h$&$K;XDj$9$k$3$H$,$G$-$^$9(B:</p> -<pre> - <Directory /usr/local/apache/htdocs/somedir> - Options +ExecCGI - </Directory> -</pre> - - <p>$B>e5-%G%#%l%/%F%#%V$O!"(BCGI $B%U%!%$%k$N<B9T$r2DG=$K$9$k$h$&(B Apache - $B$KEA$($^$9!#$^$?!"$I$N%U%!%$%k$,(B CGI $B%U%!%$%k$+$r%5!<%P$KEA$($k(B - $BI,MW$,$"$j$^$9!#<!$N(B <code>AddHandler</code> $B%G%#%l%/%F%#%V$NNc$G$O!"(B - <code>cgi</code> $B$^$?$O(B <code>pl</code> $B$r3HD%;R$K;}$D$9$Y$F$N%U%!%$%k$r(B - CGI $B%W%m%0%i%`$H$7$F$_$J$9$3$H$r%5!<%P$KEA$($^$9(B:</p> -<pre> - AddHandler cgi-script cgi pl -</pre> - - <h3><a id="htaccessfiles" - name="htaccessfiles">.htaccess $B%U%!%$%k(B</a></h3> - - <p><code>.htaccess</code> - $B%U%!%$%k$O!"%G%#%l%/%H%jKh$K%G%#%l%/%F%#%V$r;XDj$9$kJ}K!$G$9!#(BApache - $B$O!"%j%=!<%9$rDs6!$9$k$H$-$K!"Ds6!$9$k%U%!%$%k$,CV$+$l$F$$$k%G%#%l%/%H%jCf$N(B - <code>.htaccess</code> $B$H$$$&%U%!%$%k$r;2>H$7$^$9!#$=$N%U%!%$%k$rH/8+$7$?$i!"(B - $B$=$NCf$GH/8+$5$l$?%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#(B<code>.htaccess</code> - $B%U%!%$%k$O!"(B<code>AllowOverride</code> $B%G%#%l%/%F%#%V$N;XDj$K$h$j(B - $B;H$($k$h$&$K$J$j$^$9!#(B<code>AllowOverride</code>$B%G%#%l%/%F%#%V$O!"(B - <code>.htaccess</code> $B%U%!%$%k$G@_Dj$G$-$k%G%#%l%/%F%#%V$N%?%$%W$r;XDj$7$^$9!#(B - <code>AllowOverride</code> $B%G%#%l%/%F%#%V$N;XDj$,$J$$>l9g!"$^$C$?$/;H$($^$;$s!#(B - CGI $B$N<B9T$r5v2D$9$k$?$a$KI,MW$H$J$k%G%#%l%/%F%#%V$r;XDj2DG=$K$9$k$K$O!"(B - $B0J2<$N@_Dj$,%5!<%P$N%a%$%s$N@_Dj$GI,MW$K$J$j$^$9(B:</p> -<pre> - AllowOverride Options -</pre> - - <p><code>.htaccess</code> $B%U%!%$%k$G$O!"<!$N%G%#%l%/%F%#%V$,I,MW$H(B - $B$J$j$^$9(B:</p> -<pre> - Options +ExecCGI -</pre> - - <p>$B$3$N@_Dj$G$O!"$3$N%G%#%l%/%H%j$K$*$1$k(B - CGI $B%W%m%0%i%`$N<B9T$r5v2D$9$k$h$&(B Apache $B$KEA$($^$9!#(B</p> - <hr /> - - <h2><a id="writingacgiprogram" - name="writingacgiprogram">CGI $B%W%m%0%i%`$r=q$/(B</a></h2> - - <p>$BDL>o$N%W%m%0%i%_%s%0$H(B - CGI $B%W%m%0%i%_%s%0$N4V$K$O<g$KFs$D$N0c$$$,$"$j$^$9!#(B</p> - - <p>$B0l$D$O!"(BCGI $B%W%m%0%i%`$N$9$Y$F$N=PNO$K$O(B MIME-type - $B%X%C%@$rIU$1$J$1$l$P$J$j$^$;$s!#$3$l$O$I$N$h$&$J<oN`$N%3%s%F%s%D(B - $B$r<u$1<h$C$F$$$k$+$r%/%i%$%"%s%H$K<($9(B HTTP $B%X%C%@$G$9!#(B - $B$[$H$s$I$N>l9g$G$O!"<!$N$h$&$K=PNO$7$^$9(B:</p> -<pre> - Content-type: text/html -</pre> - - <p>$B$b$&0l$D$O!"=PNO$r(B HTML $B$+!"(B - $B%V%i%&%6$,I=<($9$k$3$H$,$G$-$k2?$+B>$N7A<0$K$9$kI,MW$,$"$j$^$9!#(B - $BBgDq$N>l9g$O(B HTML $B$G$7$g$&$,!"(BGIF $B%$%a!<%8$dB>$NHs(B HTML - $B%3%s%F%s%D$r=PNO$9$k(B CGI $B%W%m%0%i%`$r=q$/$3$H$b$"$k$G$7$g$&!#(B - </p> - - <p>$B$3$l$iFsE@0J30$G$O!"(BCGI $B%W%m%0%i%`$r=q$/$3$H$O!"(B - $B$"$J$?$,=q$$$F$$$kB>$N%W%m%0%i%`$HBg$$$K;w$F$$$k$G$7$g$&!#(B</p> - - <h3><a id="yourfirstcgiprogram" - name="yourfirstcgiprogram">$B$"$J$?$N:G=i$N(B CGI $B%W%m%0%i%`(B</a></h3> - - <p>$B<!$K<($9$N$O!"%V%i%&%6$K(B 1 $B9T0u;z$9$k(B CGI $B%W%m%0%i%`$NNc$G$9!#(B - $B0J2<$rF~NO$7!"(B<code>first.pl</code> $B$H$$$&%U%!%$%k$KJ]B8$7!"(B - $B$=$l$r(B <code>cgi-bin</code> $B%G%#%l%/%H%j$KCV$$$F$/$@$5$$!#(B - </p> -<pre> - #!/usr/bin/perl - print "Content-type: text/html\r\n\r\n"; - print "Hello, World."; -</pre> - - <p>Perl $B$K@:DL$7$F$$$J$/$F$b!"(B - $B2?$,5/$3$k$+$rM}2r$9$k$3$H$O$G$-$k$O$:$G$9!#(B - 1 $B9TL\$O!"(B<code>/usr/bin/perl</code> $B$G8+$D$1$i$l$k%$%s%?%W%j%?(B - $B$K$3$N%U%!%$%k$r6!5k$9$k$3$H$G$3$N%W%m%0%i%`$,<B9T$5$l$k$3$H$r(B - Apache $B$K(B ($B%7%'%k>e$G<B9T$7$h$&$H$7$F$$$k$J$i$P!"$=$N%7%'%k$K(B ) - $B<($7$^$9!#(B2 $B9TL\$O!"A0=R$7$?$H$*$j(B content-type - $B$NDj5A$r0u;z$7$^$9!#$3$l$K$OI|5"2~9T$NFs$D$NAH$r8e$KIU2C$7$^$9!#(B - $B$3$l$K$h$j!"%X%C%@$N=*$j$K6u9T$,CV$+$l!"(B - HTTP $B%X%C%@$N=*$j$H%\%G%#$N;O$^$j$r<($7$^$9!#(B3 $B9TL\$O!"(B - ``Hello, World.'' $B$H$$$&J8;zNs$r0u;z$7!"$3$l$G=*$j$H$J$j$^$9!#(B</p> - - <p>$B9%$_$N%V%i%&%6$r3+$-!"%"%I%l%9(B</p> -<pre> - http://www.example.com/cgi-bin/first.pl -</pre> - - <p>$B$"$k$$$O%U%!%$%k$rCV$$$?%m%1!<%7%g%s$r;XDj$9$k$H!"(B - <code>Hello, World.</code> $B$H$$$&(B 1 $B9T$,%V%i%&%6%&%#%s%I(B - $B$K8=$l$k$G$7$g$&!#$=$l$O$"$^$j%(%-%5%$%F%#%s%0$J$3$H$G$O$"$j$^$;$s!#(B - $B$7$+$7!"$3$l$,$&$^$/F0$1$P!"(B - $BB>$N$I$N$h$&$J$b$N$G$bF0$+$9$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="butitsstillnotworking" - name="butitsstillnotworking">$B$7$+$7!"$^$@F0$+$J$$(B !</a></h2> - - <p>$B%&%'%V$+$i(B CGI $B%W%m%0%i%`$X$N%"%/%;%9$r9T$J$C$?$H$-!"(B - $B%V%i%&%6$G8+$k2DG=@-$,$"$k;M$D$N4pK\E*$J$3$H$,$"$j$^$9(B:</p> - - <dl> - <dt>CGI $B%W%m%0%i%`$N=PNO(B</dt> - - <dd>$BAG@2$i$7$$(B ! $B$=$l$O$9$Y$F$,$&$^$/F0$$$?$3$H$r0UL#$7$^$9!#(B<br /> - <br /> - </dd> - - <dt>CGI $B%W%m%0%i%`$N%=!<%9%3!<%I!"$^$?$O(B - "POST Method Not Allowed" $B$H$$$&%a%C%;!<%8(B</dt> - - <dd>$B$3$l$O!"(BCGI $B%W%m%0%i%`$r=hM}$G$-$k$h$&(B - Apache $B$rE,@Z$K@_Dj$7$F$$$J$+$C$?$3$H$r0UL#$7$^$9!#(B - <a href="#configuringapachetopermitcgi">$B!V(BCGI $B$r5v2D$9$k$h$&$K(B - Apache $B$r@_Dj$9$k!W(B</a>$B$N>O$rFI$_D>$7!"(B - $B$"$J$?$,2?$r4V0c$($?$+$rC5$7$F$_$F$/$@$5$$!#(B<br /> - <br /> - </dd> - - <dt>$B%a%C%;!<%8$,(B "Forbidden" $B$G;O$^$C$F$$$k(B</dt> - - <dd>$B$3$l$O%Q!<%_%C%7%g%s$NLdBj$H$$$&$3$H$r0UL#$7$^$9!#(B - <a href="#errorlogs">Apache $B$N%(%i!<%m%0(B</a>$B$H!"8e=R$N(B - <a href="#filepermissions">$B!V%U%!%$%k$N%Q!<%_%C%7%g%s!W(B</a>$B$N>O$r(B - $B%A%'%C%/$7$F$/$@$5$$!#(B<br /> - <br /> - </dd> - - <dt>"Internal Server Error" $B$H$$$&%a%C%;!<%8(B</dt> - - <dd><a href="#errorlogs">Apache $B$N%(%i!<%m%0(B</a>$B$r%A%'%C%/$9$k$H!"(B - "Premature end of script headers" $B$H$$$&%m%0$,5-O?$5$l$F$$$k$H;W$$$^$9!#(B - $B$=$7$F!"$*$=$i$/(B CGI $B%W%m%0%i%`$K$h$C$F@8@.$5$l$?%(%i!<%a%C%;!<%8(B - $B$b5-O?$5$l$F$$$k$G$7$g$&!#$3$N>l9g!"(BCGI $B%W%m%0%i%`$,E,@Z$J(B - HTTP $B%X%C%@$r=PNO$G$-$J$$860x$rCN$k$?$a$K!"(B - $B0J2<$N3F>O$G%A%'%C%/$7$F$_$F$/$@$5$$!#(B - </dd> - </dl> - - <h3><a id="filepermissions" - name="filepermissions">$B%U%!%$%k$N%Q!<%_%C%7%g%s(B</a></h3> - - <p>$B%5!<%P$O$"$J$?$N8"8B$G<B9T$5$l$F$$$J$$$N$rK:$l$J$$$h$&$K!#(B - $B$D$^$j!"5/F0$9$k$H$-!"%5!<%P$OFC8"$r$b$?$J$$%f!<%6(B - $BDL>o(B - ``nobody'' $B$d(B ``www'' $B$N8"8B$G<B9T$5$l$^$9!#$7$?$,$C$F!"(B - $B$"$J$?$,=jM-$9$k%U%!%$%k$r<B9T$9$k$K$OJL$N%Q!<%_%C%7%g%s(B - $B$,I,MW$H$J$j$^$9!#DL>o!"(B``nobody'' $B$,<B9T$9$k$N$K==J,$J(B - $B%Q!<%_%C%7%g%s$rM?$($kJ}K!$O!"%U%!%$%k$KC/$G$b<B9T2DG=$H$9$k(B - $B%Q!<%_%C%7%g%s$rM?$($k$3$H$G$9(B:</p> -<pre> - chmod a+x first.pl -</pre> - - <p>$B$^$?!"$b$7$"$J$?$N%W%m%0%i%`$,B>$N%U%!%$%k$rFI$_=q$-$9$k$J$i$P!"(B - $B$=$l$i$N%U%!%$%k$O!"$3$l$,2DG=$H$J$k@5$7$$%Q!<%_%C%7%g%s(B - $B$r;}$C$F$$$kI,MW$,$"$j$^$9!#(B</p> - - <p>$B$3$l$KBP$9$kNc30$O!"%5!<%P$,(B <a href="../suexec.html">suexec</a> - $B$r;HMQ$9$k$h$&@_Dj$5$l$F$$$k>l9g$G$9!#(Bsuexec $B$O!"(BCGI - $B%W%m%0%i%`$,CV$+$l$F$$$k%P!<%A%c%k%[%9%H$^$?$O%f!<%6$N(B - $B%[!<%`%G%#%l%/%H%j$K$h$C$F!"0[$J$k%f!<%68"8B$G<B9T$5$l$k$h$&$K$7$^$9!#(B - suexec $B$O$H$F$b87$7$$%Q!<%_%C%7%g%s$N%A%'%C%/$,$"$j!"(B - $B$=$N%A%'%C%/$rDL2a$G$-$J$$$H(B "Internal Server Error" $B$H$J$j!"$=$N(B - CGI $B%W%m%0%i%`$N<B9T$O<:GT$7$^$9!#(B - $B$3$N>l9g!"$I$N%;%-%e%j%F%#%A%'%C%/$,<:GT$7$F$$$k$N$+$rCN$k$?$a$K(B - suexec $B%m%0%U%!%$%k$r%A%'%C%/$9$kI,MW$,$"$j$^$9!#(B</p> - - <h3><a id="pathinformation" - name="pathinformation">$B%Q%9>pJs(B</a></h3> - - <p>$B%3%^%s%I%i%$%s$+$i%W%m%0%i%`$r<B9T$9$k$H$-!"(B - $B0U<1$7$J$/$F$b%7%'%k$KEO$5$l$k>pJs$,$"$j$^$9!#(B - $BNc$($P!";2>H$9$k%U%!%$%k$N$?$a$K$I$3$r8!:w$7$?$i$h$$$+$r(B - $B%7%'%k$KEA$($k%Q%9$,$"$j$^$9!#(B</p> - - <p>$B%W%m%0%i%`$,(B CGI $B%W%m%0%i%`$H$7$F%&%'%V%5!<%P$K$h$C$F<B9T$5$l$k$H$-!"(B - $B$=$l$O%Q%9$r;}$A$^$;$s!#(BCGI $B%W%m%0%i%`Fb$G8F$S=P$9$"$i$f$k%W%m%0%i%`(B - ($BNc$($P!"(B'sendmail' $B$N$h$&$J$b$N(B) $B$O!"%U%k%Q%9$G;XDj$9$kI,MW$,$"$k$G$7$g$&!#(B - $B$=$l$K$h$j!"(BCGI $B%W%m%0%i%`$r<B9T$7$h$&$H$7$?$H$-!"(B - $B%7%'%k$O$=$N$h$&$J%W%m%0%i%`$r8+$D$1$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BF1MM$J$3$H$O!"%9%/%j%W%H$N%$%s%?%W%j%?(B ($B$7$P$7$P(B <code> perl - </code>) $B$X$N%Q%9$G!"(BCGI $B%W%m%0%i%`$N(B 1 $B9TL\$K<!$N$h$&$K<($5$l$^$9(B:</p> - -<pre> - #!/usr/bin/perl -</pre> - - <p>$B$3$l$,%$%s%?!<%W%j%?$X$N<B:]$N%Q%9$G$"$k$3$H$r3N<B$K$7$F$*$-$^$9!#(B</p> - - - <h3><a id="syntaxerrors" - name="syntaxerrors">$B9=J8%(%i!<(B</a></h3> - - <p>CGI $B%W%m%0%i%`$,<:GT$9$k$N$OBgDq!"(B - $B%W%m%0%i%`<+?H$KLdBj$,$"$k>l9g$G$9!#0lEY(B CGI $B$N;H$$J}$rM}2r$7!"(B - $BA0=R$NFs$D$N8m$j$rHH$7$F$$$J$$$J$i$P!"$^$:4V0c$$$J$/$=$&$G$7$g$&!#(B - $B%V%i%&%6$rDL$7$F%F%9%H$r9T$&A0$KI,$:!"%3%^%s%I%i%$%s$+$i(B - $B%W%m%0%i%`$N<B9T$r;n$7$F$/$@$5$$!#(B - $B$3$l$K$h$j!"BgDq$NLdBj$,5/$3$i$J$/$J$j$^$9!#(B</p> - - <h3><a id="errorlogs" name="errorlogs">$B%(%i!<%m%0(B</a></h3> - - <p>$B%(%i!<%m%0$OM'C#$G$9!#A4$F$N$&$^$/$$$+$J$$$3$H$O!"(B - $B%(%i!<%m%0$K%a%C%;!<%8$r@8@.$7$^$9!#I,$:$=$l$r:G=i$K8+$k$Y$-$G$9!#(B - $B$b$7!"$"$J$?$,%&%'%V%5%$%H$r<g:E$7$F$$$k>l=j$,%(%i!<%m%0$N;2>H$r(B - $B5v$7$F$$$J$$$J$i$P!"$-$C$HB>$N%5%$%H$G<g:E$9$k$Y$-$G$9!#(B - $B%(%i!<%m%0$NFI$_J}$r3X$V$3$H$G!"$[$H$s$IA4$F$NLdBj$,?WB.$K3NG'$5$l!"(B - $B?WB.$K2r7h$5$l$k$H$$$&$3$H$,J,$+$k$G$7$g$&!#(B - </p> - <hr /> - - <h2><a id="whatsgoingonbehindthescenes" - name="whatsgoingonbehindthescenes">$BN"$G2?$,5/$3$C$F$$$k$N$+(B?</a></h2> - - - <p>CGI $B%W%m%0%i%_%s%0$K=OC#$9$k$H!"(B - $BN"$G5/$3$C$F$$$k$3$H$K$D$$$F99$KM}2r$9$k$3$H$OM-1W$K$J$k$G$7$g$&!#(B - $B%V%i%&%6$H%5!<%P$,$I$N$h$&$KAj8_DL?.$9$k$+$K$D$$$F$OFC$K$=$&$G$9!#(B - $B$J$<$J$i!"(B``Hello, World.'' - $B$r0u;z$9$k%W%m%0%i%`$r=q$/$3$H$O$^$3$H$K7k9=$G$9$,!"(B - $B$=$l$OFC$KM-1W$G$O$"$j$^$;$s!#(B</p> - - <h3><a id="environmentvariables" - name="environmentvariables">$B4D6-JQ?t(B</a></h3> - - <p>$B4D6-JQ?t$O!"$"$J$?$,%3%s%T%e!<%?$r;H$&$H$-$KJU$j$KB8:_$7$F$$$kCM$G$9!#(B - $B$=$l$i$O!"%Q%9(B - ($B%3%^%s%I$r%?%$%W$7$?$H$-$K<B9T$9$k<B:]$N%U%!%$%k$rC5$7=P$9$H$3$m(B)$B!"(B - $B%f!<%6L>!"C<Kv7?$J$I$N$h$&$JJXMx$J$b$N$G$9!#(B - $BDL>o$N!"KhF|$N4D6-JQ?t$N40A4$J%j%9%H$rD4$Y$k$K$O!"(B - $B%3%^%s%I%W%m%s%W%H$G(B <code>env</code> $B$rF~NO$7$^$9!#(B</p> - - <p>CGI $B$N=hM}Cf!"%5!<%P$H%V%i%&%6$b4D6-JQ?t$r@_Dj$7!"(B - $B$=$l$K$h$jAj8_$KDL?.$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B - $B$=$N4D6-JQ?t$O!"%V%i%&%6%?%$%W(B (Netscape, IE, Lynx)$B!"(B - $B%5!<%P%?%$%W(B (Apache, IIS, WebSite)$B!"<B9T$5$l$F$$$k(B - CGI $B%W%m%0%i%`$NL>A0$J$I$N$h$&$J$b$N$G$9!#(B</p> - - <p>$B$3$l$i$NJQ?t$O(B CGI $B%W%m%0%i%^$,;HMQ$9$k$3$H$,$G$-$^$9!#(B - $B$=$7$F!"$=$l$O%/%i%$%"%s%H$H%5!<%P$NDL?.$NOC$NH>J,$G$9!#(B - $BI,MW$JJQ?t$N40A4$J%j%9%H$O(B <a - href="http://hoohoo.ncsa.uiuc.edu/cgi/env.html" - >http://hoohoo.ncsa.uiuc.edu/cgi/env.html</a> $B$K$"$j$^$9!#(B</p> - - <p>$B0J2<$NC1=c$J(B Perl CGI $B%W%m%0%i%`$O!"(B - $BEO$5$l$kA4$F$N4D6-JQ?t$rI=<($7$^$9!#F1MM$N%W%m%0%i%`$O!"(B - Apache $B%G%#%9%H%j%S%e!<%7%g%s$N(B <code>cgi-bin</code> - $B%G%#%l%/%H%j$KFs$D4^$^$l$F$$$^$9!#$$$/$D$+$NJQ?t$,I,?\$G$"$j!"(B - $B$$$/$D$+$OG$0U$G$"$k$3$H$KCm0U$7$F$/$@$5$$!#$=$7$F!"(B - $B8x<0$N%j%9%H$K$O$J$$$$$/$D$+$NJQ?t$,I=<($5$l$F$$$k$+$b$7$l$^$;$s!#(B - $B$5$i$K!"(BApache $B$O%G%U%)%k%H$GMQ0U$5$l$F$$$k4pK\E*$J$b$N$K(B - <a href="../env.html">$B$"$J$?<+?H$N4D6-JQ?t$r2C$($k(B</a>$B$?$a$N!"(B - $BB?$/$N0[$J$kJ}K!$rMQ0U$7$F$7$^$9!#(B</p> -<pre> - #!/usr/bin/perl - print "Content-type: text/html\n\n"; - foreach $key (keys %ENV) { - print "$key --> $ENV{$key}<br>"; - } -</pre> - - <h3><a id="stdinandstdout" name="stdinandstdout">STDIN $B$H(B - STDOUT</a></h3> - - <p>$B%5!<%P$H%/%i%$%"%s%H4V$N$b$&0l$D$NDL?.$O!"I8=`F~NO(B - (<code>STDIN</code>)$B$HI8=`=PNO(B (<code>STDOUT</code>) - $B$rDL$8$F9T$J$o$l$^$9!#DL>o$NJ8L.$K$*$$$F!"(B<code>STDIN</code> - $B$O%-!<%\!<%I$d%W%m%0%i%`$,F0:n$9$k$?$a$KM?$($i$l$k%U%!%$%k$r0UL#$7!"(B - <code>STDOUT</code> $B$ODL>o%3%s%=!<%k$^$?$O%9%/%j!<%s$r0UL#$7$^$9!#(B - </p> - - <p>$B%&%'%V%U%)!<%`$+$i(B CGI $B%W%m%0%i%`$X(B<code>POST</code> $B$7$?$H$-!"(B - $B%U%)!<%`$N%G!<%?$OFCJL$J%U%)!<%^%C%H$GB+$M$i$l!"(B<code>STDIN</code> - $B$rDL$7$F!"(BCGI $B%W%m%0%i%`$K0z$-EO$5$l$^$9!#(B - $B%W%m%0%i%`$O%G!<%?$,%-!<%\!<%I$b$7$/$O%U%!%$%k(B - $B$+$iMh$F$$$?$+$N$h$&$K=hM}$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B!VFCJL$J%U%)!<%^%C%H!W$O$H$F$bC1=c$G$9!#%U%#!<%k%IL>$HCM$O(B - $B%$%3!<%k(B (=) $B$G7k$P$l$^$9!#$=$7$FCM$NAH$O%"%s%Q%5%s%I(B (&) - $B$G7k$P$l$^$9!#%9%Z!<%9!"%"%s%Q%5%s%I!"%$%3!<%k$N$h$&$JLLE]$JJ8;z$O!"(B - $B$=$l$i$,F0:n$rBLL\$K$7$J$$$h$&$K$=$NJ8;z$KAjEv$9$k(B - 16 $B?J$KJQ49$5$l$^$9!#A4%G!<%?J8;zNs$O!"0J2<$N$h$&$K$J$j$^$9(B: - </p> - -<pre> - name=Rich%20Bowen&city=Lexington&state=KY&sidekick=Squirrel%20Monkey -</pre> - - <p>$B;~!9!"$3$N$h$&$JJ8;zNs$,(B URL $B$KIU2C$5$l$k$N$r8+$k$G$7$g$&!#(B - $B$=$N>l9g!"%5!<%P$O(B <code>QUERY_STRING</code> - $B$H$$$&4D6-JQ?t$K$=$NJ8;zNs$rF~$l$^$9!#$=$l$O(B <code>GET</code> - $B%j%/%(%9%H$H8F$P$l$^$9!#(BHTML $B%U%)!<%`$G$O!"%G!<%?$rEO$9$?$a$K(B - <code>GET</code> $B$H(B <code>POST</code> $B$N$I$A$i$r;HMQ$9$k$+$r!"(B - <code>FORM</code>$B%?%0$N(B <code>METHOD</code> - $BB0@-$N@_Dj$G;XDj$7$^$9!#(B</p> - - <p>CGI $B%W%m%0%i%`$O!"$=$NJ8;zNs$rLr$KN)$D>pJs$KJ,3d$9$k@UG$$,$"$j$^$9!#(B - $B9,$$$K$b!"$=$N%G!<%?=hM}$r=u$1$k%i%$%V%i%j$d%b%8%e!<%k$,B8:_$7$^$9!#(B - $B$3$l$i$O!"(BCGI $B%W%m%0%i%`$NB>$NLL$G$bF1MM$KLr$KN)$A$^$9!#(B - </p> - <hr /> - - <h2><a id="cgimoduleslibraries" - name="cgimoduleslibraries">CGI $B%b%8%e!<%k(B/$B%i%$%V%i%j(B</a></h2> - - <p>CGI $B%W%m%0%i%`$r=q$/$H$-!"LLE]$J;E;v$NBgItJ,$r$7$F$/$l$k(B - $B%3!<%I%i%$%V%i%j$^$?$O%b%8%e!<%k$r;H$&$3$H$r8!F$$9$Y$-$G$9!#(B - $B$3$l$O%(%i!<$r8:$i$7!"Aa$$3+H/$K$D$J$,$j$^$9!#(B</p> - - <p>Perl $B$G(B CGI $B%W%m%0%i%`$r=q$$$F$$$k$J$i!"%b%8%e!<%k$O(B - <a href="http://www.cpan.org/">CPAN</a> $B$GDs6!$5$l$F$$$^$9!#(B - $B$3$NL\E*$N$?$a$N:G$bIa5Z$7$F$$$k%b%8%e!<%k$O(B CGI.pm $B$G$9!#(B - CGI::Lite $B$b8!F$$7$^$7$g$&!#$3$l$O!"$[$H$s$I$N%W%m%0%i%`(B - $B$K$*$$$FI,MW$H$9$k$9$Y$F$N5!G=$N:G>.%;%C%H$N<BAu$G$9!#(B</p> - - <p>C $B$G(B CGI $B%W%m%0%i%`$r=q$$$F$$$k$J$i!"$$$m$$$m$J%*%W%7%g%s$,$"$j$^$9!#(B - $B$3$l$i$NFb$N0l$D$O(B <a href="http://www.boutell.com/cgic/" - >http://www.boutell.com/cgic/</a> $B$GDs6!$5$l$F$$$k(B CGIC $B%i%$%V%i%j$G$9!#(B</p> - <hr /> - - <h2><a id="formoreinformation" - name="formoreinformation">$B99$J$k>pJs(B</a></h2> - - <p>CGI $B$K4X$9$k>pJs$O%&%'%V$G?tB?$/Ds6!$5$l$F$$$^$9!#(B - CGI $B$NLdBj$K$D$$$F$O(B Usenet $B$N(B comp.infosystems.www.authoring.cgi - $B$G!"B>$N%f!<%6$HO@5D$9$k$3$H$,$G$-$^$9!#(BHTML Writers Guide $B$N(B -servers - $B%a!<%j%s%0%j%9%H$O!"$"$J$?$N<ALd$K2sEz$7$F$/$l$k0NBg$J%j%=!<%9$G$9!#(B - <a href="http://www.hwg.org/lists/hwg-servers/" - >http://www.hwg.org/lists/hwg-servers/</a> $B$G99$KB?$/$rC5$7=P$9$3$H$,$G$-$^$9!#(B</p> - - <p>$B$=$7$F$b$A$m$s!"$*$=$i$/(B CGI - $B%W%m%0%i%`$NF0:n$K4X$9$k>\:Y$NA4$F$,5-=R$5$l$F$$$k(B CGI - $B$N;EMM$rFI$`$Y$-$G$9!#%*%j%8%J%k%P!<%8%g%s$r(B <a - href="http://hoohoo.ncsa.uiuc.edu/cgi/interface.html">NCSA</a> $B$G!"(B - $B%"%C%W%G!<%H$5$l$?%I%i%U%H$r(B <a - href="http://web.golux.com/coar/cgi/">Common Gateway Interface RFC - $B%W%m%8%'%/%H(B</a>$B$G;2>H$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>CGI $B$NLdBj$K$D$$$F!"(B - $B2C$o$C$F$$$k%a!<%j%s%0%j%9%H$^$?$O%K%e!<%9%0%k!<%W$K<ALd$rAw$k$H$-!"(B - $B5/$3$C$?$b$N!"5/$3$C$F$[$7$$$3$H!"<B:]$K5/$3$C$?$3$H$,$I$&0c$&$+!"(B - $B;HMQ$7$F$$$k%5!<%P!"(BCGI - $B%W%m%0%i%`$r5-=R$7$F$$$k8@8l$K4X$9$k==J,$J>pJs$H!"(B - $B2DG=$G$"$l$PLdBj$N%3!<%I$rDs6!$9$k$h$&$K$7$F$/$@$5$$!#(B - $B$=$&$9$k$3$H$G!"LdBj$,$h$j4VC1$K8+$D$+$k$h$&$K$J$j$^$9!#(B</p> - - <p>Apache - $B$N%=!<%9%3!<%I$K$*$$$FLdBj$rH/8+$7$?$3$H$r3N?.$7$F$$$J$$8B$j!"(B - CGI $B$NLdBj$K4X$9$k<ALd$r(B Apache - $B%P%0%G!<%?%Y!<%9$KAw$k$Y$-$G$J$$$3$H$KCmL\$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/howto/ssi.html.en b/usr.sbin/httpd/htdocs/manual/howto/ssi.html.en deleted file mode 100644 index 046386cf77e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/howto/ssi.html.en +++ /dev/null @@ -1,554 +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>Apache Tutorial: Introduction to Server Side - Includes</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - - <h1 align="CENTER">Apache Tutorial: Introduction to Server Side - Includes</h1> - <a id="__index__" name="__index__"></a> <!-- INDEX BEGIN --> - - - <ul> - <li><a - href="#apachetutorial:introductiontoserversideincludes">Apache - Tutorial: Introduction to Server Side Includes</a></li> - - <li><a href="#whataressi">What are SSI?</a></li> - - <li><a href="#configuringyourservertopermitssi">Configuring - your server to permit SSI</a></li> - - <li> - <a href="#basicssidirectives">Basic SSI directives</a> - - <ul> - <li><a href="#today'sdate">Today's date</a></li> - - <li><a href="#modificationdateofthefile">Modification - date of the file</a></li> - - <li><a href="#includingtheresultsofacgiprogram">Including - the results of a CGI program</a></li> - </ul> - </li> - - <li> - <a href="#additionalexamples">Additional examples</a> - - <ul> - <li><a href="#whenwasthisdocumentmodified">When was this - document modified?</a></li> - - <li><a href="#includingastandardfooter">Including a - standard footer</a></li> - - <li><a href="#whatelsecaniconfig">What else can I - config?</a></li> - - <li><a href="#executingcommands">Executing - commands</a></li> - </ul> - </li> - - <li> - <a href="#advancedssitechniques">Advanced SSI - techniques</a> - - <ul> - <li><a href="#settingvariables">Setting - variables</a></li> - - <li><a href="#conditionalexpressions">Conditional - expressions</a></li> - </ul> - </li> - - <li><a href="#conclusion">Conclusion</a></li> - </ul> - <!-- INDEX END --> - <hr /> - - <h2><a id="apachetutorial:introductiontoserversideincludes" - name="apachetutorial:introductiontoserversideincludes">Apache - Tutorial: Introduction to Server Side Includes</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>Related Modules</strong><br /> - <br /> - <a href="../mod/mod_include.html">mod_include</a><br /> - <a href="../mod/mod_cgi.html">mod_cgi</a><br /> - <a href="../mod/mod_expires.html">mod_expires</a><br /> - </td> - - <td valign="top"><strong>Related Directives</strong><br /> - <br /> - <a href="../mod/core.html#options">Options</a><br /> - <a - href="../mod/mod_include.html#xbithack">XBitHack</a><br /> - <a href="../mod/mod_mime.html#addtype">AddType</a><br /> - <a - href="../mod/mod_mime.html#addhandler">AddHandler</a><br /> - <a - href="../mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a><br /> - </td> - </tr> - </table> - - <p>This article deals with Server Side Includes, usually called - simply SSI. In this article, I'll talk about configuring your - server to permit SSI, and introduce some basic SSI techniques - for adding dynamic content to your existing HTML pages.</p> - - <p>In the latter part of the article, we'll talk about some of - the somewhat more advanced things that can be done with SSI, - such as conditional statements in your SSI directives.</p> - <hr /> - - <h2><a id="whataressi" name="whataressi">What are SSI?</a></h2> - - <p>SSI (Server Side Includes) are directives that are placed in - HTML pages, and evaluated on the server while the pages are - being served. They let you add dynamically generated content to - an existing HTML page, without having to serve the entire page - via a CGI program, or other dynamic technology.</p> - - <p>The decision of when to use SSI, and when to have your page - entirely generated by some program, is usually a matter of how - much of the page is static, and how much needs to be - recalculated every time the page is served. SSI is a great way - to add small pieces of information, such as the current time. - But if a majority of your page is being generated at the time - that it is served, you need to look for some other - solution.</p> - <hr /> - - <h2><a id="configuringyourservertopermitssi" - name="configuringyourservertopermitssi">Configuring your server - to permit SSI</a></h2> - - <p>To permit SSI on your server, you must have <a - href="../mod/mod_include.html">mod_include</a> installed and - enabled. Additionally, you must have the following - directive either in your <code>httpd.conf</code> file, or in a - <code>.htaccess</code> file:</p> -<pre> - Options +Includes -</pre> - - <p>This tells Apache that you want to permit files to be parsed - for SSI directives. Note that most configurations contain - multiple <a href="../mod/core.html#options">Options</a> directives - that can override each other. You will probably need to apply the - <code>Options</code> to the specific directory where you want SSI - enabled in order to assure that it gets evaluated last.</p> - - <p>Not just any file is parsed for SSI directives. You have to - tell Apache which files should be parsed. There are two ways to - do this. You can tell Apache to parse any file with a - particular file extension, such as <code>.shtml</code>, with - the following directives:</p> -<pre> - AddType text/html .shtml - AddHandler server-parsed .shtml -</pre> - - <p>One disadvantage to this approach is that if you wanted to - add SSI directives to an existing page, you would have to - change the name of that page, and all links to that page, in - order to give it a <code>.shtml</code> extension, so that those - directives would be executed.</p> - - <p>The other method is to use the <code>XBitHack</code> - directive:</p> -<pre> - XBitHack on -</pre> - - <p><code>XBitHack</code> tells Apache to parse files for SSI - directives if they have the execute bit set. So, to add SSI - directives to an existing page, rather than having to change - the file name, you would just need to make the file executable - using <code>chmod</code>.</p> -<pre> - chmod +x pagename.html -</pre> - - <p>A brief comment about what not to do. You'll occasionally - see people recommending that you just tell Apache to parse all - <code>.html</code> files for SSI, so that you don't have to - mess with <code>.shtml</code> file names. These folks have - perhaps not heard about <code>XBitHack</code>. The thing to - keep in mind is that, by doing this, you're requiring that - Apache read through every single file that it sends out to - clients, even if they don't contain any SSI directives. This - can slow things down quite a bit, and is not a good idea.</p> - - <p>Of course, on Windows, there is no such thing as an execute - bit to set, so that limits your options a little.</p> - - <p>In its default configuration, Apache does not send the last - modified date or content length HTTP headers on SSI pages, - because these values are difficult to calculate for dynamic - content. This can prevent your document from being cached, and - result in slower perceived client performance. There are two - ways to solve this:</p> - - <ol> - <li>Use the <code>XBitHack Full</code> configuration. This - tells Apache to determine the last modified date by looking - only at the date of the originally requested file, ignoring - the modification date of any included files.</li> - - <li>Use the directives provided by <a - href="../mod/mod_expires.html">mod_expires</a> to set an - explicit expiration time on your files, thereby letting - browsers and proxies know that it is acceptable to cache - them.</li> - </ol> - <hr /> - - <h2><a id="basicssidirectives" name="basicssidirectives">Basic - SSI directives</a></h2> - - <p>SSI directives have the following syntax:</p> -<pre> - <!--#element attribute=value attribute=value ... --> -</pre> - - <p>It is formatted like an HTML comment, so if you don't have - SSI correctly enabled, the browser will ignore it, but it will - still be visible in the HTML source. If you have SSI correctly - configured, the directive will be replaced with its - results.</p> - - <p>The element can be one of a number of things, and we'll talk - some more about most of these in the next installment of this - series. For now, here are some examples of what you can do with - SSI</p> - - <h3><a id="today'sdate" name="today'sdate">Today's - date</a></h3> -<pre> - <!--#echo var="DATE_LOCAL" --> -</pre> - - <p>The <code>echo</code> element just spits out the value of a - variable. There are a number of standard variables, which - include the whole set of environment variables that are - available to CGI programs. Also, you can define your own - variables with the <code>set</code> element.</p> - - <p>If you don't like the format in which the date gets printed, - you can use the <code>config</code> element, with a - <code>timefmt</code> attribute, to modify that formatting.</p> -<pre> - <!--#config timefmt="%A %B %d, %Y" --> - Today is <!--#echo var="DATE_LOCAL" --> -</pre> - - <h3><a id="modificationdateofthefile" - name="modificationdateofthefile">Modification date of the - file</a></h3> -<pre> - This document last modified <!--#flastmod file="index.html" --> -</pre> - - <p>This element is also subject to <code>timefmt</code> format - configurations.</p> - - <h3><a id="includingtheresultsofacgiprogram" - name="includingtheresultsofacgiprogram">Including the results - of a CGI program</a></h3> - - <p>This is one of the more common uses of SSI - to output the - results of a CGI program, such as everybody's favorite, a ``hit - counter.''</p> -<pre> - <!--#include virtual="/cgi-bin/counter.pl" --> -</pre> - <hr /> - - <h2><a id="additionalexamples" - name="additionalexamples">Additional examples</a></h2> - - <p>Following are some specific examples of things you can do in - your HTML documents with SSI.</p> - <hr /> - - <h2><a id="whenwasthisdocumentmodified" - name="whenwasthisdocumentmodified">When was this document - modified?</a></h2> - - <p>Earlier, we mentioned that you could use SSI to inform the - user when the document was most recently modified. However, the - actual method for doing that was left somewhat in question. The - following code, placed in your HTML document, will put such a - time stamp on your page. Of course, you will have to have SSI - correctly enabled, as discussed above.</p> -<pre> - <!--#config timefmt="%A %B %d, %Y" --> - This file last modified <!--#flastmod file="ssi.shtml" --> -</pre> - - <p>Of course, you will need to replace the - <code>ssi.shtml</code> with the actual name of the file that - you're referring to. This can be inconvenient if you're just - looking for a generic piece of code that you can paste into any - file, so you probably want to use the - <code>LAST_MODIFIED</code> variable instead:</p> -<pre> - <!--#config timefmt="%D" --> - This file last modified <!--#echo var="LAST_MODIFIED" --> -</pre> - - <p>For more details on the <code>timefmt</code> format, go to - your favorite search site and look for <code>strftime()</code>. The - syntax is the same.</p> - <hr /> - - <h2><a id="includingastandardfooter" - name="includingastandardfooter">Including a standard - footer</a></h2> - - <p>If you are managing any site that is more than a few pages, - you may find that making changes to all those pages can be a - real pain, particularly if you are trying to maintain some kind - of standard look across all those pages.</p> - - <p>Using an include file for a header and/or a footer can - reduce the burden of these updates. You just have to make one - footer file, and then include it into each page with the - <code>include</code> SSI command. The <code>include</code> - element can determine what file to include with either the - <code>file</code> attribute, or the <code>virtual</code> - attribute. The <code>file</code> attribute is a file path, - <em>relative to the current directory</em>. That means that it - cannot be an absolute file path (starting with /), nor can it - contain ../ as part of that path. The <code>virtual</code> - attribute is probably more useful, and should specify a URL - relative to the document being served. It can start with a /, - but must be on the same server as the file being served.</p> -<pre> - <!--#include virtual="/footer.html" --> -</pre> - - <p>I'll frequently combine the last two things, putting a - <code>LAST_MODIFIED</code> directive inside a footer file to be - included. SSI directives can be contained in the included file, - and includes can be nested - that is, the included file can - include another file, and so on.</p> - <hr /> - - <h2><a id="whatelsecaniconfig" name="whatelsecaniconfig">What - else can I config?</a></h2> - - <p>In addition to being able to <code>config</code> the time - format, you can also <code>config</code> two other things.</p> - - <p>Usually, when something goes wrong with your SSI directive, - you get the message</p> -<pre> - [an error occurred while processing this directive] -</pre> - - <p>If you want to change that message to something else, you - can do so with the <code>errmsg</code> attribute to the - <code>config</code> element:</p> -<pre> - <!--#config errmsg="[It appears that you don't know how to use SSI]" --> -</pre> - - <p>Hopefully, end users will never see this message, because - you will have resolved all the problems with your SSI - directives before your site goes live. (Right?)</p> - - <p>And you can <code>config</code> the format in which file - sizes are returned with the <code>sizefmt</code> attribute. You - can specify <code>bytes</code> for a full count in bytes, or - <code>abbrev</code> for an abbreviated number in Kb or Mb, as - appropriate.</p> - <hr /> - - <h2><a id="executingcommands" - name="executingcommands">Executing commands</a></h2> - - <p>I expect that I'll have an article some time in the coming - months about using SSI with small CGI programs. For now, here's - something else that you can do with the <code>exec</code> - element. You can actually have SSI execute a command using the - shell (<code>/bin/sh</code>, to be precise - or the DOS shell, - if you're on Win32). The following, for example, will give you - a directory listing.</p> -<pre> - <pre> - <!--#exec cmd="ls" --> - </pre> -</pre> - - <p>or, on Windows</p> -<pre> - <pre> - <!--#exec cmd="dir" --> - </pre> -</pre> - - <p>You might notice some strange formatting with this directive - on Windows, because the output from <code>dir</code> contains - the string ``<<code>dir</code>>'' in it, which confuses - browsers.</p> - - <p>Note that this feature is exceedingly dangerous, as it will - execute whatever code happens to be embedded in the - <code>exec</code> tag. If you have any situation where users - can edit content on your web pages, such as with a - ``guestbook'', for example, make sure that you have this - feature disabled. You can allow SSI, but not the - <code>exec</code> feature, with the <code>IncludesNOEXEC</code> - argument to the <code>Options</code> directive.</p> - <hr /> - - <h2><a id="advancedssitechniques" - name="advancedssitechniques">Advanced SSI techniques</a></h2> - - <p>In addition to spitting out content, Apache SSI gives you - the option of setting variables, and using those variables in - comparisons and conditionals.</p> - - <h3><a id="caveat" name="caveat">Caveat</a></h3> - - <p>Most of the features discussed in this article are only - available to you if you are running Apache 1.2 or later. Of - course, if you are not running Apache 1.2 or later, you need to - upgrade immediately, if not sooner. Go on. Do it now. We'll - wait.</p> - <hr /> - - <h2><a id="settingvariables" name="settingvariables">Setting - variables</a></h2> - - <p>Using the <code>set</code> directive, you can set variables - for later use. We'll need this later in the discussion, so - we'll talk about it here. The syntax of this is as follows:</p> -<pre> - <!--#set var="name" value="Rich" --> -</pre> - - <p>In addition to merely setting values literally like that, - you can use any other variable, including, for example, - environment variables, or some of the variables we discussed in - the last article (like <code>LAST_MODIFIED</code>, for example) - to give values to your variables. You will specify that - something is a variable, rather than a literal string, by using - the dollar sign ($) before the name of the variable.</p> -<pre> - <!--#set var="modified" value="$LAST_MODIFIED" --> -</pre> - - <p>To put a literal dollar sign into the value of your - variable, you need to escape the dollar sign with a - backslash.</p> -<pre> - <!--#set var="cost" value="\$100" --> -</pre> - - <p>Finally, if you want to put a variable in the midst of a - longer string, and there's a chance that the name of the - variable will run up against some other characters, and thus be - confused with those characters, you can place the name of the - variable in braces, to remove this confusion. (It's hard to - come up with a really good example of this, but hopefully - you'll get the point.)</p> -<pre> - <!--#set var="date" value="${DATE_LOCAL}_${DATE_GMT}" --> -</pre> - <hr /> - - <h2><a id="conditionalexpressions" - name="conditionalexpressions">Conditional expressions</a></h2> - - <p>Now that we have variables, and are able to set and compare - their values, we can use them to express conditionals. This - lets SSI be a tiny programming language of sorts. - <code>mod_include</code> provides an <code>if</code>, - <code>elif</code>, <code>else</code>, <code>endif</code> - structure for building conditional statements. This allows you - to effectively generate multiple logical pages out of one - actual page.</p> - - <p>The structure of this conditional construct is:</p> -<pre> - <!--#if expr="test_condition" --> - <!--#elif expr="test_condition" --> - <!--#else --> - <!--#endif --> -</pre> - - <p>A <em>test_condition</em> can be any sort of logical - comparison - either comparing values to one another, or testing - the ``truth'' of a particular value. (A given string is true if - it is nonempty.) For a full list of the comparison operators - available to you, see the <code>mod_include</code> - documentation. Here are some examples of how one might use this - construct.</p> - - <p>In your configuration file, you could put the following - line:</p> -<pre> - BrowserMatchNoCase macintosh Mac - BrowserMatchNoCase MSIE InternetExplorer -</pre> - - <p>This will set environment variables ``Mac'' and - ``InternetExplorer'' to true, if the client is running Internet - Explorer on a Macintosh.</p> - - <p>Then, in your SSI-enabled document, you might do the - following:</p> -<pre> - <!--#if expr="${Mac} && ${InternetExplorer}" --> - Apologetic text goes here - <!--#else --> - Cool JavaScript code goes here - <!--#endif --> -</pre> - - <p>Not that I have anything against IE on Macs - I just - struggled for a few hours last week trying to get some - JavaScript working on IE on a Mac, when it was working - everywhere else. The above was the interim workaround.</p> - - <p>Any other variable (either ones that you define, or normal - environment variables) can be used in conditional statements. - With Apache's ability to set environment variables with the - <code>SetEnvIf</code> directives, and other related directives, - this functionality can let you do some pretty involved dynamic - stuff without ever resorting to CGI.</p> - <hr /> - - <h2><a id="conclusion" name="conclusion">Conclusion</a></h2> - - <p>SSI is certainly not a replacement for CGI, or other - technologies used for generating dynamic web pages. But it is a - great way to add small amounts of dynamic content to pages, - without doing a lot of extra work.</p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/howto/ssi.html.ja.jis b/usr.sbin/httpd/htdocs/manual/howto/ssi.html.ja.jis deleted file mode 100644 index 3273f9a7630..00000000000 --- a/usr.sbin/httpd/htdocs/manual/howto/ssi.html.ja.jis +++ /dev/null @@ -1,554 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%A%e!<%H%j%"%k(B: Server Side Includes $BF~Lg(B</title> - - </head> - <!-- English revision: 1.14 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - - <h1 align="center">Apache $B%A%e!<%H%j%"%k(B: - Server Side Includes $BF~Lg(B</h1> - <a id="__index__" name="__index__"></a> <!-- INDEX BEGIN --> - - - <ul> - <li><a - href="#apachetutorial:introductiontoserversideincludes">Apache - $B%A%e!<%H%j%"%k(B: Server Side Includes $BF~Lg(B</a></li> - - <li><a href="#whataressi">SSI $B$H$O(B?</a></li> - - <li><a href="#configuringyourservertopermitssi">SSI - $B$r5v2D$9$k$?$a$N%5!<%P$N@_Dj(B</a></li> - - <li> - <a href="#basicssidirectives">$B4pK\E*$J(B SSI $B%G%#%l%/%F%#%V(B</a> - - <ul> - <li><a href="#today'sdate">$B:#F|$NF|IU(B</a></li> - - <li><a href="#modificationdateofthefile">$B%U%!%$%k$NJQ99F|(B</a></li> - - <li><a href="#includingtheresultsofacgiprogram">CGI - $B%W%m%0%i%`$N7k2L$r<h$j9~$`(B</a></li> - </ul> - </li> - - - <li> - <a href="#additionalexamples">$BDI2C$NNc(B</a> - - <ul> - <li><a href="#whenwasthisdocumentmodified" - >$B$$$D$3$N%I%-%e%a%s%H$O=$@5$5$l$?$N$+(B?</a></li> - - <li><a href="#includingastandardfooter" - >$BI8=`$N%U%C%?$rA^F~$9$k(B</a></li> - - <li><a href="#whatelsecaniconfig" - >$BB>$K2?$,@_Dj$G$-$k$N$+(B?</a></li> - - <li><a href="#executingcommands">$B%3%^%s%I$N<B9T(B</a> - </li> - </ul> - </li> - - <li> - <a href="#advancedssitechniques">$B9bEY$J(B SSI $B%F%/%K%C%/(B</a> - - - <ul> - <li><a href="#settingvariables">$BJQ?t$r@_Dj$9$k(B</a> - </li> - - <li><a href="#conditionalexpressions">$B>r7o<0(B</a></li> - </ul> - </li> - - - <li><a href="#conclusion">$B=*$o$j$K(B</a></li> - </ul> - <!-- INDEX END --> - <hr /> - - <h2><a id="apachetutorial:introductiontoserversideincludes" - name="apachetutorial:introductiontoserversideincludes">Apache - $B%A%e!<%H%j%"%k(B: Server Side Includes $BF~Lg(B</a></h2> - - <table border="1"> - <tr> - <td valign="top"><strong>$B4XO"%b%8%e!<%k(B</strong><br /> - <br /> - <a href="../mod/mod_include.html">mod_include</a><br /> - <a href="../mod/mod_cgi.html">mod_cgi</a><br /> - <a href="../mod/mod_expires.html">mod_expires</a><br /> - </td> - - <td valign="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="../mod/core.html#options">Options</a><br /> - <a - href="../mod/mod_include.html#xbithack">XBitHack</a><br /> - <a href="../mod/mod_mime.html#addtype">AddType</a><br /> - <a - href="../mod/mod_mime.html#addhandler">AddHandler</a><br /> - <a href="../mod/mod_setenvif.html#browsermatchnocase" - >BrowserMatchNoCase</a><br /> - </td> - </tr> - </table> - - <p>$B$3$N5-;v$O!"DL>o$OC1$K(B SSI $B$H8F$P$l$k(B Server Side Includes - $B$r07$$$^$9!#$3$N5-;v$K$*$$$F$O!"%5!<%P$G$N(B SSI $B$r5v2D$9$k$?$a$N@_Dj$H!"(B - $B8=:_$N(B HTML $B%Z!<%8$KF0E*$J%3%s%F%s%D$r2C$($k$?$a$N$$$/$D$+$N4pK\E*$J(B - SSI $B5;=Q$r>R2p$7$^$9!#(B</p> - - <p>$B5-;v$N8eH>$G$O!"(BSSI $B%G%#%l%/%F%#%V$G(B SSI - $B$H6&$K<B9T$9$k$3$H$,$G$-$k>r7oJ8$N$h$&$J(B - $B4vJ,9bEY$J;vJA$K$D$$$F=R$Y$F$$$^$9!#(B</p> - <hr /> - - <h2><a id="whataressi" name="whataressi">SSI $B$H$O(B?</a></h2> - - <p>SSI (Server Side Includes) $B$O!"(BHTML - $B%Z!<%8Cf$KG[CV$5$l$k%G%#%l%/%F%#%V$G$"$j!"(B - $B%5!<%P$G%Z!<%8$rDs6!$9$k;~$KI>2A$5$l$^$9!#(BSSI $B$O!"(BCGI - $B%W%m%0%i%`$d$=$NB>$NF0E*$J5;=Q$GA4$F$N%Z!<%8$rDs6!$;$:$K!"(B - $BF0E*$K@8@.$5$l$?%3%s%F%s%D$r8=:_$N(B HTML $B%Z!<%8$K2C$($^$9!#(B</p> - - <p>$B$I$&$$$&>l9g$K(B SSI $B$r;H$$!"$I$&$$$&>l9g$K%W%m%0%i%`$G(B - $B%Z!<%8$r40A4$K@8@.$9$k$+$O!"%Z!<%8$N$&$A$I$NDxEY$,@EE*$G$"$j!"(B - $B%Z!<%8$,Ds6!$5$l$k$?$S$K:F7W;;$9$kI,MW$,$I$NDxEY$"$k$+$GDL>o$O7hDj$7$^$9!#(B - SSI $B$O8=:_;~9o$N$h$&$J>.$5$$>pJs$r2C$($k$K$O$&$C$F$D$1$NJ}K!$G$9!#(B - $B$7$+$7!"$=$N%Z!<%8$N$[$H$s$I$NItJ,$,Ds6!;~$K@8@.$5$l$k>l9g$O!"(B - $BB>$NJ}K!$rC5$9I,MW$,$"$j$^$9!#(B - </p> - <hr /> - - - <h2><a id="configuringyourservertopermitssi" - name="configuringyourservertopermitssi">SSI - $B$r5v2D$9$k$?$a$N%5!<%P$N@_Dj(B</a></h2> - - <p>$B%5!<%P$G(B SSI $B$r5v2D$9$k$K$O!"(B<a - href="../mod/mod_include.html">mod_include</a> - $B$r%$%s%9%H!<%k!"M-8z2=$9$kI,MW$,$"$j$^$9!#$5$i$K!"(B - <code>httpd.conf</code> $B%U%!%$%k$^$?$O(B <code>.htaccess</code> - $B%U%!%$%k$K<!$N%G%#%l%/%F%#%V$r;XDj$9$kI,MW$,$"$j$^$9(B:</p> -<pre> - Options +Includes -</pre> - - <p>$B$3$N;XDj$O!"%U%!%$%k$r(B SSI $B%G%#%l%/%F%#%V$G2r@O$5$;$k$3$H$r5v2D$9$k(B - $B$H$$$&$3$H$r(B Apache $B$KEA$($^$9!#(B - $B$[$H$s$I$N@_Dj$G$O$*8_$$$r>e=q$-$G$-$k!"J#?t$N(B - <a href="../mod/core.html#options">Options</a> $B$,$"$k$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$*$=$i$/!"@_Dj$,:G8e$KI>2A$5$l$k$3$H$r(B - $BJ]>Z$5$l$k$?$a$K!"(BSSI $B$r;HMQ$7$?$$%G%#%l%/%H%j$K(B <code>Options</code> - $B%G%#%l%/%F%#%V$rE,MQ$9$kI,MW$,$"$k$G$7$g$&!#(B</p> - - <p>$BA4$F$N%U%!%$%k$,(B SSI $B%G%#%l%/%F%#%V$G2r@O$5$l$k$H$$$&$o$1$G$O$"$j$^$;$s!#(B - $B$I$N%U%!%$%k$,2r@O$5$l$k$+$r(B Apache $B$KEA$($kI,MW$,$"$j$^$9!#(B - $B$3$l$r9T$J$&$K$OFs$DJ}K!$,$"$j$^$9!#<!$N%G%#%l%/%F%#%V$r;H$&$3$H$G!"(B - $BNc$($P(B <code>.shtml</code> $B$N$h$&$JFCJL$J%U%!%$%k3HD%;R$r;}$D(B - $B%U%!%$%k$r2r@O$9$k$h$&(B Apache $B$KEA$($k$3$H$,$G$-$^$9(B:</p> -<pre> - AddType text/html .shtml - AddHandler server-parsed .shtml -</pre> - - <p>$B$3$NJ}K!$N7gE@$O!"$b$78=:_$N%Z!<%8$K(B SSI - $B%G%#%l%/%F%#%V$r2C$($?$$>l9g!"$=$l$i$N%G%#%l%/%F%#%V$,<B9T$5$l$k$h$&$K(B - <code>.shtml</code> $B3HD%;R$K$9$k$?$a!"$=$N%Z!<%8$NL>A0$H!"(B - $B$=$N%Z!<%8$X$NA4$F$N%j%s%/$rJQ99$7$J$1$l$P$J$i$J$$$3$H$G$9!#(B - </p> - - <p>$B$b$&0l$D$NJ}K!$O!"(B<code>XBitHack</code> - $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$G$9(B:</p> -<pre> - XBitHack on -</pre> - - <p><code>XBitHack</code> $B$O!"%U%!%$%k$N<B9T%S%C%H$,N)$C$F$$$k>l9g!"(B - SSI $B%G%#%l%/%F%#%V$K$h$j2r@O$9$k$3$H$r(B Apache $B$KEA$($^$9!#(B - $B=>$C$F!"(BSSI $B%G%#%l%/%F%#%V$r8=:_$N%Z!<%8$K2C$($k$?$a$K$O!"(B - $B%U%!%$%kL>$rJQ99$7$J$/$F$b$h$/!"C1$K(B <code>chmod</code> - $B$r;HMQ$7$F%U%!%$%k$r<B9T2DG=$K$9$k$@$1$G:Q$_$^$9!#(B</p> -<pre> - chmod +x pagename.html -</pre> - - <p>$B9T$J$&$Y$-$G$O$J$$$3$H$K4X$9$kC;$$%3%a%s%H!#;~!9C/$+$,!"A4$F$N(B - <code>.html</code> $B%U%!%$%k$r(B SSI $B$G2r@O$9$k$h$&(B Apache $B$KEA$($l$P!"(B - $B$o$6$o$6(B <code>.shtml</code> $B$H$$$&%U%!%$%kL>$K$9$kI,MW$,$J$$$H$$$C$F(B - $BA&$a$k$N$r8+$k$3$H$G$7$g$&!#$3$&$$$&?M$?$A$O!"$*$=$i$/(B - <code>XBitHack</code> $B$K$D$$$FJ9$$$?$3$H$,$J$$$N$G$7$g$&!#(B - $B$3$NJ}K!$K$D$$$FCm0U$9$k$3$H$O!"$?$H$((B SSI - $B%G%#%l%/%F%#%V$rA4$/4^$^$J$$>l9g$G$b!"(BApache $B$,%/%i%$%"%s%H$K(B - $BAw$kA4$F$N%U%!%$%k$r:G8e$^$GFI$_9~$^$;$k$3$H$K$J$j$^$9!#(B - $B$3$NJ}K!$O$+$J$j=hM}$rCY$/$9$k$b$N$G$"$j!"NI$/$J$$%"%$%G%"$G$9!#(B</p> - - <p>$B$b$A$m$s!"(BWindows $B$G$O$=$N$h$&$J<B9T%S%C%H$r%;%C%H(B - $B$9$k$h$&$J$b$N$O$"$j$^$;$s$N$G%*%W%7%g%s$,>/$7@)8B$5$l$F$$$^$9!#(B</p> - - <p>$B%G%U%)%k%H$N@_Dj$G$O!"(BApache $B$O(B SSI $B%Z!<%8$K$D$$$F:G=*JQ99;~9o$d(B - $B%3%s%F%s%D$ND9$5$r(B HTTP $B%X%C%@$KAw$j$^$;$s!#(B - $BF0E*$J%3%s%F%s%D$G$"$k$?$a!"$=$l$i$NCM$r7W;;$9$k$N$,Fq$7$$$+$i$G$9!#(B - $B$3$N$?$a%I%-%e%a%s%H$,%-%c%C%7%e$5$l$J$/$J$j!"(B - $B7k2L$H$7$F%/%i%$%"%s%H$N@-G=$,CY$/$J$C$?$h$&$K46$8$5$;$k$3$H$K$J$j$^$9!#(B - $B$3$l$r2r7h$9$kJ}K!$,Fs$D$"$j$^$9(B:</p> - - <ol> - <li><code>XBitHack Full</code> $B@_Dj$r;HMQ$9$k!#(B - $B$3$N@_Dj$K$h$j!"$b$H$b$HMW5a$5$l$?%U%!%$%k$N;~9o$r;2>H$7!"(B - $BFI$_9~$^$l$k%U%!%$%k$NJQ99;~9o$rL5;k$7$F:G=*JQ99;~9o$r7hDj$9$k$h$&(B - Apache $B$KEA$($^$9!#(B</li> - - <li><a href="../mod/mod_expires.html">mod_expires</a> - $B$GDs6!$5$l$F$$$k%G%#%l%/%F%#%V$r;HMQ$7$F!"(B - $B%U%!%$%k$,L58z$K$J$k;~9o$rL@<($7$^$9!#$3$l$K$h$j!"(B - $B%V%i%&%6$H%W%m%-%7$K%-%c%C%7%e$,M-8z$G$"$k$3$H$rDLCN$7$^$9!#(B - </li> - </ol> - <hr /> - - <h2><a id="basicssidirectives" name="basicssidirectives">$B4pK\E*$J(B - SSI $B%G%#%l%/%F%#%V(B</a></h2> - - <p>SSI $B%G%#%l%/%F%#%V$O0J2<$NJ8K!$G5-=R$7$^$9(B:</p> -<pre> - <!--#element attribute=value attribute=value ... --> -</pre> - - <p>HTML $B$N%3%a%s%H$N$h$&$J=q<0$r$7$F$$$k$N$G!"$b$7(B SSI - $B$r@5$7$/F0:n2DG=$K$7$J$1$l$P!"%V%i%&%6$O$=$l$rL5;k$9$k$G$7$g$&!#(B - $B$7$+$7!"(BHTML $B%=!<%9Cf$G$O8+$($^$9!#$b$7(B SSI $B$r@5$7$/@_Dj$7$?$J$i!"(B - $B%G%#%l%/%F%#%V$O$=$N7k2L$HCV$-49$($i$l$^$9!#(B - </p> - - <p>element $B$O$?$/$5$s$"$k$b$N$+$i0l$D;XDj$9$k$3$H$,$G$-$^$9!#(B - $B;XDj$G$-$k$b$N$NBgB??t$K$D$$$F$O!"<!2s$b$&>/$7>\$7$/@bL@$7$^$9!#(B - $B$3$3$G$O!"(BSSI $B$G9T$J$&$3$H$,$G$-$kNc$r$$$/$D$+<($7$^$9!#(B - </p> - - <h3><a id="todaysdate" name="todaysdate">$B:#F|$NF|IU(B</a></h3> -<pre> - <!--#echo var="DATE_LOCAL" --> -</pre> - - - <p><code>echo</code> $BMWAG$OC1$KJQ?t$NCM$r=PNO$7$^$9!#(B - CGI $B%W%m%0%i%`$KMxMQ2DG=$J4D6-JQ?t$NA4$F$N(B - $B%;%C%H$r4^$`B?$/$NI8=`JQ?t$,$"$j$^$9!#$^$?!"(B<code>set</code> - $BMWAG$rMQ$$$k$3$H$G!"FH<+$NJQ?t$rDj5A$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B=PNO$5$l$kF|IU$N=q<0$,9%$-$G$O$J$$>l9g!"$=$N=q<0$r=$@5$9$k$?$a$K!"(B - <code>config</code> $BMWAG$K(B <code>timefmt</code> - $BB0@-$r;HMQ$9$k$3$H$,$G$-$^$9!#(B</p> -<pre> - <!--#config timefmt="%A %B %d, %Y" --> - Today is <!--#echo var="DATE_LOCAL" --> -</pre> - - <h3><a id="modificationdateofthefile" - name="modificationdateofthefile">$B%U%!%$%k$NJQ99F|(B</a></h3> -<pre> - This document last modified <!--#flastmod file="index.html" --> -</pre> - - - <p>$B$3$NMWAG$b(B <code>timefmt</code> - $B%U%)!<%^%C%H$N@_Dj$K=>$$$^$9!#(B</p> - - <h3><a name="includingtheresultsofacgiprogram" - id="includingtheresultsofacgiprogram">CGI - $B%W%m%0%i%`$N7k2L$r<h$j9~$`(B</a></h3> - - <p>$B$3$l$O!"A4$F$N?M$N$*5$$KF~$j$G$"$k(B ``$B%R%C%H%+%&%s%?(B'' $B$N$h$&$J(B - CGI $B%W%m%0%i%`$N7k2L$r=PNO$9$k(B SSI - $B$N$h$j0lHLE*$J;HMQ$N$&$A$N0l$D$G$9!#(B</p> -<pre> - <!--#include virtual="/cgi-bin/counter.pl" --> -</pre> - <hr /> - - <h2><a id="additionalexamples" - name="additionalexamples">$BDI2C$NNc(B</a></h2> - - <p>$B0J2<$O!"(BSSI $B$r;HMQ$7$F(B HTML - $B%I%-%e%a%s%H$K$*$$$F$G$-$k$3$H$N$$$/$D$+$NFCJL$JNc$G$9!#(B</p> - <hr /> - - <h2><a name="whenwasthisdocumentmodified" - id="whenwasthisdocumentmodified" - >$B$$$D$3$N%I%-%e%a%s%H$O=$@5$5$l$?$N$+(B?</a></h2> - - <p>$B@h$K!"%I%-%e%a%s%H$,:G8e$KJQ99$5$l$?$N$O$$$D$J$N$+$r(B - $B%f!<%6$KDLCN$9$k$?$a$K(B SSI $B$r;HMQ$9$k$3$H$,$G$-$k$3$H$r=R$Y$^$7$?!#(B - $B$7$+$7$J$,$i!"<B:]$NJ}K!$O!"$$$/$V$sLdBj$N$^$^$K$7$F$*$-$^$7$?!#(B - HTML $B%I%-%e%a%s%H$KG[CV$5$l$?<!$N%3!<%I$O!"%Z!<%8$K$=$N$h$&$J(B - $B%?%$%`%9%?%s%W$rF~$l$k$G$7$g$&!#$b$A$m$s!">e=R$N$h$&$K!"(B - SSI $B$r@5$7$/F0:n2DG=$K$7$F$*$/I,MW$,$"$j$^$9!#(B</p> -<pre> - <!--#config timefmt="%A %B %d, %Y" --> - This file last modified <!--#flastmod file="ssi.shtml" --> -</pre> - - <p>$B$b$A$m$s!"(B<code>ssi.shtml</code> - $B$NItJ,$r<B:]$NEv3:%U%!%$%kL>$HCV$-49$($kI,MW$,$"$j$^$9!#(B - $B$b$7!"$"$i$f$k%U%!%$%k$KD%$k$3$H$,$G$-$k0lHLE*$J%3!<%I$rC5$7$F$$$k$J$i!"(B - $B$3$l$OITJX$G$"$k$+$b$7$l$^$;$s!#$*$=$i$/$=$N>l9g$O!"(B - $B$=$&$9$kBe$o$j$KJQ?t(B <code>LAST_MODIFIED</code> - $B$r;HMQ$7$?$$$H9M$($k$G$7$g$&(B:</p> -<pre> - <!--#config timefmt="%D" --> - This file last modified <!--#echo var="LAST_MODIFIED" --> -</pre> - - <p><code>timefmt</code> - $B=q<0$K$D$$$F$N$h$j>\:Y$K$D$$$F$O!"$*9%$_$N8!:w%5%$%H$K9T$-!"(B - <code>strftime</code> $B$G8!:w$7$F$_$F$/$@$5$$!#J8K!$OF1$8$G$9!#(B</p> - <hr /> - - <h2><a id="includingastandardfooter" - name="includingastandardfooter">$BI8=`$N%U%C%?$rA^F~$9$k(B</a></h2> - - - <p>$B$b$7?t%Z!<%8$rD6$($k%Z!<%8$r;}$D%5%$%H$r4IM}$7$F$$$k$J$i$P!"(B - $BA4%Z!<%8$KBP$7$FJQ99$r9T$J$&$3$H$,K\Ev$K6lDK$H$J$jF@$k$3$H$,(B - $BJ,$+$k$G$7$g$&!#A4$F$N%Z!<%8$KEO$C$F$"$k<o$NI8=`E*$J304Q$r(B - $B0];}$7$h$&$H$7$F$$$k$J$i$PFC$K$=$&$G$7$g$&!#(B</p> - - <p>$B%X%C%@$d%U%C%?MQ$NA^F~MQ%U%!%$%k$r;HMQ$9$k$3$H$G!"(B - $B$3$N$h$&$J99?7$K$+$+$kIiC4$r8:$i$9$3$H$,$G$-$^$9!#(B - $B0l$D$N%U%C%?%U%!%$%k$r:n@.$7!"$=$l$r(B <code>include</code> - SSI $B%3%^%s%I$G3F%Z!<%8$KF~$l$k$@$1$G:Q$_$^$9!#(B<code>include</code> - $BMWAG$O!"(B<code>file</code> $BB0@-$^$?$O(B <code>virtual</code> - $BB0@-$N$$$:$l$+$r;HMQ$7$F$I$N%U%!%$%k$rA^F~$9$k$+$r7h$a$k$3$H$,$G$-$^$9!#(B - <code>file</code> $BB0@-$O!"(B - <em>$B%+%l%s%H%G%#%l%/%H%j$+$i$NAjBP%Q%9$G<($5$l$?(B</em>$B%U%!%$%k%Q%9$G$9!#(B - $B$=$l$O(B / $B$G;O$^$k@dBP%U%!%$%k%Q%9$K$O$G$-$:!"$^$?!"$=$N%Q%9$N0lIt$K(B ../ - $B$r4^$`$3$H$,$G$-$J$$$3$H$r0UL#$7$^$9!#(B<code>virtual</code> - $BB0@-$O!"$*$=$i$/$h$jJXMx$@$H;W$$$^$9$,!"Ds6!$9$k%I%-%e%a%s%H$+$i$NAjBP(B - URL $B$G;XDj$9$Y$-$G$9!#$=$l$O(B / $B$G;O$a$k$3$H$,$G$-$^$9$,!"(B - $BDs6!$9$k%U%!%$%k$HF1$8%5!<%P>e$KB8:_$7$J$/$F$O$J$j$^$;$s!#(B</p> -<pre> - <!--#include virtual="/footer.html" --> -</pre> - - <p>$B;d$O:G8e$NFs$D$rAH$_9g$o$;$F!"(B<code>LAST_MODIFIED</code> - $B%G%#%l%/%F%#%V$r%U%C%?%U%!%$%k$NCf$KCV$/$3$H$,$h$/$"$j$^$9!#(B - SSI $B%G%#%l%/%F%#%V$O!"A^F~MQ$N%U%!%$%k$K4^$^$;$?$j!"(B - $BA^F~%U%!%$%k$N%M%9%H$r$7$?$j$9$k$3$H$,$G$-$^$9!#$9$J$o$A!"(B - $BA^F~MQ$N%U%!%$%k$OB>$N%U%!%$%k$r:F5"E*$KA^F~$9$k$3$H$,$G$-$^$9!#(B</p> - <hr /> - - <h2><a name="whatelsecaniconfig" - id="whatelsecaniconfig">$BB>$K2?$,@_Dj$G$-$k$N$+(B?</a></h2> - - <p>$B;~9o=q<0$r(B <code>config</code> $B$G@_Dj$G$-$k$3$H$K2C$($F!"(B - $B99$KFs$D(B <code>config</code> $B$G@_Dj$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BDL>o!"(BSSI $B%G%#%l%/%F%#%V$G2?$+$,$&$^$/$$$+$J$$$H$-$O!"(B - $B<!$N%a%C%;!<%8$,=PNO$5$l$^$9!#(B</p> -<pre> - [an error occurred while processing this directive] -</pre> - - <p>$B$3$N%a%C%;!<%8$rB>$N$b$N$K$7$?$$>l9g!"(B<code>config</code> - $BMWAG$N(B <code>errmsg</code> $BB0@-$GJQ99$9$k$3$H$,$G$-$^$9(B:</p> - -<pre> - <!--#config errmsg="[It appears that you don't know how to use SSI]" --> -</pre> - - <p>$B$*$=$i$/!"%(%s%I%f!<%6$O$3$N%a%C%;!<%8$r7h$7$F8+$k$3$H$O$"$j$^$;$s!#(B - $B$J$<$J$i!"$=$N%5%$%H$,@8$-$?>uBV$K$J$kA0$K(B SSI $B%G%#%l%/%F%#%V$K4X$9$k(B - $BA4$F$NLdBj$r2r7h$7$F$$$k$O$:$@$+$i$G$9!#(B($B$=$&$G$9$h$M(B?)</p> - - <p>$B$=$7$F!"(B<code>config</code> $B$K$*$$$F(B <code>sizefmt</code> - $BB0@-$r;HMQ$9$k$3$H$G!"(B - $BJV$5$l$k%U%!%$%k%5%$%:$N=q<0$r@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B%P%$%H?t$K$O(B <code>bytes</code> $B$r!"E,Ev$K(B Kb $B$d(B Mb - $B$KC;=L$5$;$k$K$O(B <code>abbrev</code> $B$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p> - <hr /> - - <h2><a id="executingcommands" - name="executingcommands">$B%3%^%s%I$N<B9T(B</a></h2> - - <p>$B:#8e?t%v7n$N$&$A$K!">.$5$J(B CGI $B%W%m%0%i%`$H(B SSI - $B$r;HMQ$9$k5-;v$r=P$7$?$$$H9M$($F$$$^$9!#$3$3$G$O$=$l$H$OJL$K!"(B - <code>exec</code> $BMWAG$K$h$C$F9T$J$&$3$H$,$G$-$k$3$H$r<($7$^$9!#(B - SSI $B$K%7%'%k(B ($B@53N$K$O(B <code>/bin/sh</code>$B!#(BWin32 $B$J$i$P(B DOS $B%7%'%k(B) - $B$r;HMQ$7$F%3%^%s%I$r<B9T$5$;$k$3$H$,$G$-$^$9!#(B - $B2<5-$NNc$G$O!"%G%#%l%/%H%j%j%9%H=PNO$r9T$J$$$^$9!#(B</p> - -<pre> - <pre> - <!--#exec cmd="ls" --> - </pre> -</pre> - - <p>Windows $B>e$G$O!"(B</p> -<pre> - <pre> - <!--#exec cmd="dir" --> - </pre> -</pre> - - <p>Windows $B>e$G$O!"$3$N%G%#%l%/%F%#%V$K$h$C$F$$$/$D$+$N4qL/$J(B - $B=q<0$K5$$E$/$G$7$g$&!#$J$<$J$i(B <code>dir</code> $B$N=PNO$,J8;zNs(B - ``<<code>dir</code>>'' $B$r4^$_!"%V%i%&%6$r:.Mp$5$;$k$+$i$G$9!#(B - </p> - - <p>$B$3$N5!G=$OHs>o$K4m81$G$"$j!"$I$s$J%3!<%I$G$b(B <code>exec</code> - $B%?%0$KKd$a9~$^$l$F$7$^$($P<B9T$9$k$3$H$KCm0U$7$F$/$@$5$$!#Nc$($P(B - `` $B%2%9%H%V%C%/(B '' $B$N$h$&$K!"$b$7!"(B - $B%f!<%6$,%Z!<%8$NFbMF$rJT=8$G$-$k>u67$K$"$k$J$i$P!"(B - $B$3$N5!G=$r3N<B$KM^@)$7$F$/$@$5$$!#(B<code>Options</code> - $B%G%#%l%/%F%#%V$N(B <code>IncludesNOEXEC</code> $B0z?t$r;XDj$9$k$3$H$G!"(B - SSI $B$O5v2D$9$k$1$l$I(B <code>exec</code> - $B5!G=$O5v2D$7$J$$$h$&$K$9$k$3$H$,$G$-$^$9!#(B</p> - <hr /> - - <h2><a id="advancedssitechniques" - name="advancedssitechniques">$B9bEY$J(B SSI $B%F%/%K%C%/(B</a></h2> - - <p>$B%3%s%F%s%D$r=PNO$9$k$3$H$K2C$(!"(BApache SSI $B$OJQ?t$r@_Dj$7!"(B - $B$=$7$FHf3S$H>r7oJ,4t$K$=$NJQ?t$r;HMQ$G$-$k5!G=$rDs6!$7$F$$$^$9!#(B - </p> - - <h3><a id="caveat" name="caveat">$B7Y9p(B</a></h3> - - <p>$B$3$N5-;v$G=R$Y$?BgItJ,$N5!G=$O!"(BApache 1.2 - $B0J9_$r;HMQ$7$F$$$k>l9g$N$_MxMQ2DG=$G$9!#EvA3$J$,$i!"$b$7(B Apache 1.2 - $B0J9_$r;HMQ$7$F$J$$>l9g!"D>$A$K%"%C%W%0%l!<%I$9$kI,MW$,$"$j$^$9!#(B - $B$5$!!":#$=$l$r9T$J$$$J$5$$!#$=$l$^$GBT$C$F$$$^$9!#(B - </p> - <hr /> - - <h2><a id="settingvariables" - name="settingvariables">$BJQ?t$r@_Dj$9$k(B</a></h2> - - <p><code>set</code> $B%G%#%l%/%F%#%V$r;HMQ$7$F!"(B - $B8e$G;HMQ$9$k$?$a$KJQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$O8e$N@bL@$GI,MW$K$J$k$N$G!"$3$3$G$=$l$K$D$$$F=R$Y$F$$$^$9!#(B - $BJ8K!$O0J2<$N$H$*$j$G$9(B:</p> -<pre> - <!--#set var="name" value="Rich" --> -</pre> - - <p>$B$3$N$h$&$KC1=c$KJ8;z$I$*$j$K@_Dj$9$k$3$H$K2C$(!"(B - $BNc$($P4D6-JQ?t$dA0$N5-;v$G=R$Y$?JQ?t(B - ($BNc$($P(B <code>LAST_MODIFIED</code>$B$N$h$&$J(B) - $B$r4^$`B>$N$"$i$f$kJQ?t$rCM$r@_Dj$9$k$N$K;HMQ$9$k$3$H$,$G$-$^$9!#(B - $BJQ?tL>$NA0$K%I%k5-9f(B ($) $B$r;HMQ$9$k$3$H$G!"(B - $B$=$l$,%j%F%i%kJ8;zNs$G$O$J$/$FJQ?t$G$"$k$3$H$r<($7$^$9!#(B</p> -<pre> - <!--#set var="modified" value="$LAST_MODIFIED" --> -</pre> - - <p>$B%I%k5-9f(B ($) $B$rJ8;z$H$7$FJQ?t$NCM$KF~$l$k$K$O!"(B - $B%P%C%/%9%i%C%7%e$K$h$C$F%I%k5-9f$r%(%9%1!<%W$9$kI,MW$,$"$j$^$9!#(B - </p> -<pre> - <!--#set var="cost" value="\$100" --> -</pre> - - <p>$B:G8e$K$J$j$^$9$,!"D9$$J8;zNs$NCf$KJQ?t$rCV$-$?$$>l9g$G!"(B - $BJQ?tL>$,B>$NJ8;z$H$V$D$+$k2DG=@-$,$"$j!"(B - $B$=$l$i$NJ8;z$K$D$$$F:.Mp$7$F$7$^$&>l9g!"$3$N:.Mp$r<h$j=|$/$?$a!"(B - $BJQ?tL>$rCf3g8L$G0O$`$3$H$,$G$-$^$9(B - ($B$3$l$K$D$$$F$NNI$$Nc$r<($9$N$OFq$7$$$N$G$9$,!"(B - $B$*$=$i$/J,$+$C$F$$$?$@$1$k$G$7$g$&(B)$B!#(B - </p> -<pre> - <!--#set var="date" value="${DATE_LOCAL}_${DATE_GMT}" --> -</pre> - <hr /> - - <h2><a id="conditionalexpressions" - name="conditionalexpressions">$B>r7o<0(B</a></h2> - - <p>$B$5$F!"JQ?t$r;}$C$F$$$F!"(B - $B$=$l$i$NCM$r@_Dj$7$FHf3S$9$k$3$H$,$G$-$k$N$G$9$+$i!"(B - $B>r7o$rI=$9$?$a$K$=$l$i$r;HMQ$9$k$3$H$,$G$-$^$9!#$3$l$K$h$j(B - SSI $B$O$"$k<o$N>.$5$J%W%m%0%i%_%s%08@8l$K$J$C$F$$$^$9!#(B - <code>mod_include</code> $B$O>r7o$rI=8=$9$k$?$a$K(B <code>if</code>, - <code>elif</code>, <code>else</code>, <code>endif</code> - $B9=B$$rDs6!$7$F$$$^$9!#$3$l$K$h$C$F!"(B - $B0l$D$N<B:]$N%Z!<%8$+$iJ#?t$NO@M}%Z!<%8$r8z2LE*$K@8@.$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B>r7o9=B$$O0J2<$N$H$*$j$G$9(B:</p> -<pre> - <!--#if expr="test_condition" --> - <!--#elif expr="test_condition" --> - <!--#else --> - <!--#endif --> -</pre> - - <p><em>test_condition</em> - $B$O$"$i$f$k<oN`$NO@M}E*Hf3S$r$9$k$3$H$,$G$-$^$9!#(B - $BCM$rHf3S$7$?$j!"$=$NCM$,(B ``$B??(B'' $B$+$I$&$+$rI>2A$7$^$9(B - ($B6u$G$J$$$J$iM?$($i$l$?J8;zNs$O??$G$9(B)$B!#(B - $BMxMQ2DG=$JHf3S1i;;;R$NA4$F$N%j%9%H$K$D$$$F$O!"(B - <code>mod_include</code> $B%I%-%e%a%s%F!<%7%g%s$r;2>H$7$F$/$@$5$$!#(B - $B$3$3$G$O!"$3$N9=B$$r$I$&;HMQ$9$k$+$NNc$r$$$/$D$+<($7$^$9!#(B</p> - -<p>$B@_Dj%U%!%$%k$G<!$N9T$r5-=R$7$^$9(B:</p> - -<pre> - BrowserMatchNoCase macintosh Mac - BrowserMatchNoCase MSIE InternetExplorer -</pre> - - <p>$B$3$l$O%/%i%$%"%s%H$,(B Macintosh - $B>e$G%$%s%?!<%M%C%H%(%/%9%W%m!<%i$,F0$$$F$$$k>l9g!"4D6-JQ?t(B - ``Mac'' $B$H(B ``InternetExplorer'' $B$r??$H@_Dj$7$^$9!#(B</p> - - <p>$B<!$K!"(BSSI $B$,2DG=$K$J$C$?%I%-%e%a%s%H$G0J2<$r9T$J$$$^$9(B:</p> - -<pre> - <!--#if expr="${Mac} && ${InternetExplorer}" --> - Apologetic text goes here - <!--#else --> - Cool JavaScript code goes here - <!--#endif --> -</pre> - - <p>Mac $B>e$N(B IE $B$KBP$7$F2?$+;W$&$H$3$m$,$"$k$o$1$G$"$j$^$;$s!#(B - $BB>$G$O<B9T$G$-$F$$$k$$$/$D$+$N(B JavaScript $B$r(B Mac $B>e$N(B IE - $B$G<B9T$5$;$k$N$K!"@h=5?t;~4V6lO+$7$?$H$$$&$@$1$N$3$H$G$9!#(B - $B>e$NNc$O$=$N;CDjE*$JBP=hJ}K!$G$9!#(B</p> - - <p>$BB>$N$I$s$JJQ?t(B ($B$"$J$?$,Dj5A$9$k$b$N!"(B - $B$^$?$OIaDL$N4D6-JQ?t$N$$$:$l$+(B) $B$b!">r7oJ8$K;HMQ$9$k$3$H$,$G$-$^$9!#(B - Apache $B$O(B <code>SetEnvIf</code> $B%G%#%l%/%F%#%V$dB>$N4XO"(B - $B%G%#%l%/%F%#%V$r;HMQ$7$F4D6-JQ?t$r@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B$3$N5!G=$K$h$j!"(BCGI - $B$KMj$k$3$H$J$/$+$J$jJ#;($JF0E*$J$3$H$r$5$;$k$3$H$,$G$-$^$9!#(B</p> - <hr /> - - <h2><a id="conclusion" name="conclusion">$B=*$o$j$K(B</a></h2> - - <p>SSI $B$O3N$+$K(B CGI - $B$dF0E*$J%&%'%V%Z!<%8$r@8@.$9$kB>$N5;=Q$KBe$o$k$b$N$G$O$"$j$^$;$s!#(B - $B$7$+$7!"$?$/$5$s$NM>J,$J:n6H$r$;$:$K!"(B - $B>/NL$NF0E*$J%3%s%F%s%D$r2C$($k$K$O$9$0$l$?J}K!$G$9!#(B</p> - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/install.html.es b/usr.sbin/httpd/htdocs/manual/install.html.es deleted file mode 100644 index 2476dff6296..00000000000 --- a/usr.sbin/httpd/htdocs/manual/install.html.es +++ /dev/null @@ -1,243 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- translation 1.31 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Compilación e Instalación de - Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server</h3> - </div> - - - - <h1 align="CENTER">Compilación e Instalación de - Apache 1.3</h1> - - <p>Este documento cubre la compilación e - instalación de Apache en sistemas Unix, usando el - método manual de construcción e - instalación. Si desea usar la interfaz estilo autoconf, - deberá leer el fichero <code>INSTALL</code> en el - directorio raíz de la distribución fuente de - Apache. Para la compilación e instalación en - plataformas específicas, consulte</p> - - <ul> - <li><a href="windows.html">Usar Apache con Microsoft - Windows</a></li> - - <li><a href="cygwin.html">Usar Apache con Cygwin</a></li> - - <li><a href="netware.html">Usar Apache con Novell Netware - 5</a></li> - - <li><a href="mpeix.html">Usar Apache con HP MPE/iX</a></li> - - <li><a href="unixware.html">Compilación de Apache bajo - UnixWare</a></li> - - <li><a href="readme-tpf.html">Vistazo general de la - versión TPF de Apache</a></li> - </ul> - - <h2>Bajarse Apache</h2> - - <p>La información de la última versión de - Apache puede encontrarla en <a - href="http://www.apache.org/">http://www.apache.org/</a>. En - esta web podrá encontrar las versiones finales, - versiones beta e información de sitios y réplicas - en la web y por ftp anónimo.</p> - - <p>Si se ha bajado la distribución binaria, vaya a <a - href="#installing">Instalación de Apache</a>. Si no es - así lea la siguiente sección como compilar el - servidor.</p> - - <h2>Compilación de Apache</h2> - - <p>La compilación de Apache consiste en tres pasos. - Primero seleccionar qué <strong>módulos</strong> - de Apache quiere incluir en el servidor. Segundo crear una - configuración para su sistema operativo. Tercero - compilar el ejecutable.</p> - - <p>Toda la configuración de Apache está en el - directorio <code>src</code> de la distribución. Vaya al - directorio <code>src</code>.</p> - - <ol> - <li> - <p>Seleccione módulos para compilar, en el fichero - de <code>configuración</code> de Apache. Descomente - las líneas correspondientes a los módulos - opcionales que desee incluir (entre las líneas - <code>AddModule</code> al final del fichero), o escriba - nuevas líneas correspondientes a módulos - adicionales que haya bajado o programado. (Vea <a - href="misc/API.html">API.html</a> para ver la - documentación preliminar de cómo escribir - módulos Apache). Los usuarios avanzados pueden - comentar los módulos por defecto si están - seguros de que no los necesitan (tenga cuidado, ya que - algunos de estos módulos son necesarios para el buen - funcionamiento y una correcta seguridad del servidor).</p> - - <p>Debería leer también las instrucciones del - fichero de <code>Configuración</code> para comprobar - si necesita configurar unas <code>líneas</code> u - otras.</p> - </li> - - <li> - <p>Configure Apache para su sistema operativo. Usted puede - ejecutar un script como el mostrado más abajo. - Aunque si esto falla o usted tiene algún - requerimiento especial (<i>por ejemplo</i> incluir una - librería adicional exigida por un módulo - opcional) puede editarlo para utilizar en el fichero de - <code>Configuración</code> las siguientes opciones: - <code>EXTRA_CFLAGS, LIBS, LDFLAGS,INCLUDES.</code></p> - - <p>Ejecute el script de - <code>configuración</code>:</p> - - <blockquote> -<pre> - % Configure - Using 'Configuration' as config file - + configured for <whatever> platform - + setting C compiler to <whatever> * - + setting C compiler optimization-level to <whatever> * - + Adding selected modules - + doing sanity check on compiler and options - Creating Makefile in support - Creating Makefile in main - Creating Makefile in os/unix - Creating Makefile in modules/standard -</pre> - </blockquote> - - <p>(*: Dependiendo de la configuración y de su - sistema. El resultado podría no coincidir con el - mostrado; no hay problema).</p> - - <p>Esto genera un fichero <code>Makefile</code> a ser usado - en el tercer paso. También crea un - <code>Makefile</code> en el directorio - <code>support</code>, para la compilación de - programas de soporte.</p> - - <p>(Si quiere mantener varias configuraciones, puede - indicarle a <code>Configure</code> una de las opciones en - un fichero, como <code>Configure -fichero - configuración.ai</code>).</p> - </li> - - <li>Escriba <code>make</code>.</li> - </ol> - - <p>Los módulos de la distribución de Apache son - aquellos que hemos probado y utilizado regularmente varios - miembros del grupo de desarrollo de Apache. Los módulos - adicionales (creados por miembros del grupo o por terceras - personas) para necesidades o funciones específicas - están disponibles en <<a - href="http://www.apache.org/dist/httpd/contrib/modules/">http://www.apache.org/dist/httpd/contrib/modules/</a>>. - Hay instrucciones en esa página para añadir estos - módulos en el núcleo de Apache.</p> - - <h2><a id="installing" name="installing">Instalación de - Apache</a></h2> - - <p>Tendrá un fichero binario llamado <code>hhtpd</code> - en el directorio <code>src</code>. Una distribución - binaria de Apache ya traerá este fichero.</p> - - <p>El próximo paso es instalar el programa y - configurarlo. Apache esta diseñado para ser configurado - y ejecutado desde los directorios donde fue compilado. Si - quiere ejecutarlo desde otro lugar, cree un directorio y copie - los directorios <code>conf</code>, <code>logs</code> e - <code>icons</code>. En cualquier caso debería leer las - <a href="misc/security_tips.html#serverroot">sugerencias de - seguridad</a> que describen cómo poner los permisos del - directorio raíz.</p> - - <p>El paso siguiente es editar los ficheros de - configuración del servidor. Consiste en configurar - varias <strong>directivas</strong> en los tres ficheros - principales. Por defecto, estos ficheros están en el - directorio <code>conf</code> y se llaman <code>srm.conf</code>, - <code>access.conf</code> y <code>httpd.conf</code>. Para - ayudarle a comenzar, hay ejemplos de estos ficheros en el - directorio de la distribución, llamados - <code>srm.conf-dist</code>, <code>access.conf-dist</code> y - <code>httpd.conf-dist</code>. Copie o renombre estos ficheros a - los correspondientes nombres sin la terminación - <code>-dist</code>. Edite cada uno de ellos. Lea los - comentarios cuidadosamente. Un error en la configuración - de estos ficheros podría provocar fallos en el servidor - o volverlo inseguro. Tendrá también un fichero - adicional en el directorio <code>conf</code> llamado - <code>mime.conf</code>. Este fichero normalmente no tiene que - ser editado.</p> - - <p>Primero edite el fichero <code>http.conf</code>. Este - configura atributos generales del servidor: el número de - puerto, el usuario que lo ejecuta, <i>etc.</i> El siguiente a - editar es <code>srm.conf</code>; este fichero configura la - raíz del árbol de los documentos, funciones - especiales como HTML analizado sintácticamente por el - servidor, mapa de imagen, <i>etc.</i> Finalmente, edite - <code>access.conf</code> que configura los accesos.</p> - - <p>Además de estos tres ficheros, el comportamiento del - servidor puede ser modificado directorio a directorio usando - los ficheros <code>.htaccess</code> para los directorios en los - que acceda el servidor.</p> - - <h3>¡Configure el sistema de tiempo correctamente!</h3> - - <p>Una operación de un servidor web requiere un tiempo - concreto, ya que algunos elementos del protocolo HTTP se - expresan en función de la hora y el día. Por eso, - es hora de investigar la configuración de NTP o de otro - sistema de sincronización de su Unix o lo que haga de - equivalente en NT.</p> - - <h2>Programas de soporte para la compilación</h2> - - <p>Además del servidor principal <code>httpd</code> que - se compila y configura como hemos visto, Apache incluye - programas de soporte. Estos no son compilados por defecto. Los - programas de soporte están en el directorio - <code>support</code>. Para compilar esos programas, entre en el - directorio indicado y ejecute el comando:</p> - - <blockquote> -<pre> - make -</pre> - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server</h3> - <a href="./"><img src="images/index.gif" alt="Index" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/programs/apachectl.html.en b/usr.sbin/httpd/htdocs/manual/programs/apachectl.html.en deleted file mode 100644 index a1b14e99b77..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/apachectl.html.en +++ /dev/null @@ -1,106 +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>Manual Page: apachectl - Apache HTTP Server</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: apachectl</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>NAME</strong> - apachectl - Apache HTTP server control interface - -<strong>SYNOPSIS</strong> - <strong>apachectl</strong> <em>command</em> [...] - -<strong>DESCRIPTION</strong> - <strong>apachectl</strong> is a front end to the Apache HyperText Transfer - Protocol (HTTP) server. It is designed to help the adminis- - trator control the functioning of the Apache <strong>httpd</strong> daemon. - - <strong>NOTE:</strong> If your Apache installation uses non-standard paths, - you will need to edit the <strong>apachectl</strong> script to set the - appropriate paths to your PID file and your <strong>httpd</strong> binary. - See the comments in the script for details. - - The <strong>apachectl</strong> script returns a 0 exit value on success, and - >0 if an error occurs. For more details, view the comments - in the script. - - Full documentation for Apache is available at - <strong>http://www.apache.org/</strong> - -<strong>OPTIONS</strong> - The <em>command</em> can be any one or more of the following options: - - <strong>start </strong> Start the Apache daemon. Gives an error if it - is already running. - - <strong>stop </strong> Stops the Apache daemon. - - <strong>restart </strong> Restarts the Apache daemon by sending it a - SIGHUP. If the daemon is not running, it is - started. This command automatically checks the - configuration files via <strong>configtest</strong> before ini- - tiating the restart to make sure Apache doesn't - die. - - <strong>fullstatus</strong> Displays a full status report from <strong>mod_status.</strong> - For this to work, you need to have mod_status - enabled on your server and a text-based browser - such as <em>lynx</em> available on your system. The URL - used to access the status report can be set by - editing the <strong>STATUSURL</strong> variable in the script. - - <strong>status </strong> Displays a brief status report. Similar to the - fullstatus option, except that the list of - requests currently being served is omitted. - - <strong>graceful </strong> Gracefully restarts the Apache daemon by sending - it a SIGUSR1. If the daemon is not running, it - is started. This differs from a normal restart - in that currently open connections are not - aborted. A side effect is that old log files - will not be closed immediately. This means that - if used in a log rotation script, a substantial - delay may be necessary to ensure that the old - log files are closed before processing them. - This command automatically checks the configura- - tion files via <strong>configtest</strong> before initiating the - restart to make sure Apache doesn't die. - - <strong>configtest</strong> Run a configuration file syntax test. It parses - the configuration files and either reports <strong>Syn-</strong> - <strong>tax Ok</strong> or detailed information about the partic- - ular syntax error. - - <strong>help </strong> Displays a short help message. - -<strong>SEE ALSO</strong> - <strong>httpd(8)</strong> - -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/programs/apachectl.html.ja.jis b/usr.sbin/httpd/htdocs/manual/programs/apachectl.html.ja.jis deleted file mode 100644 index acb40e53f47..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/apachectl.html.ja.jis +++ /dev/null @@ -1,105 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Manual Page: apachectl - Apache HTTP Server</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.5 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: apachectl</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>$BL>>N(B</strong> - apachectl - Apache HTTP $B%5!<%P%3%s%H%m!<%k%$%s%?!<%U%'!<%9(B - -<strong>$B=q<0(B</strong> - <strong>apachectl </strong><em>command </em>[...] - -<strong>$B2r@b(B</strong> - <strong>apachectl</strong> $B$O(B Apache HyperText Transfer Protocol - (HTTP) $B%5!<%P$N%U%m%s%H%(%s%I$G$9!#4IM}<T$,(B Apache <strong>httpd</strong> - $B%G!<%b%s$r%3%s%H%m!<%k$9$k5!G=$r=u$1$k$h$&$K@_7W$5$l$F$$$^$9!#(B - - <strong>NOTE:</strong> Apache $B$N%$%s%9%H!<%k$GI8=`$G$O$J$$%Q%9(B - $B$r;HMQ$9$k>l9g!"(BPID $B%U%!%$%k$H(B <strong>httpd</strong> $B%P%$%J%j$r(B - $BE,@Z$J%Q%9$K@_Dj$9$k$?$a(B <strong>apachectl</strong> $B%9%/%j%W%H(B - $B$rJT=8$9$kI,MW$,$"$j$^$9!#>\:Y$O%9%/%j%W%HFb$N%3%a%s%H$r8+$F$/$@$5$$!#(B - - <strong>apachectl</strong> $B%9%/%j%W%H$O@.8y$7$?>l9g$O(B 0 $B=*N;CM!"(B - $B%(%i!<$,5/$3$C$?>l9g(B 0 $B0J>e$rJV$7$^$9!#(B - $B$5$i$J$k>\:Y$O%9%/%j%W%HFb$N%3%a%s%H$r$_$F$/$@$5$$!#(B - - Apache $B$N$?$a$NA4J8>O$O(B <strong>http://www.apache.org/</strong> - $B$GMxMQ2DG=$G$9!#(B - -<strong>$B%*%W%7%g%s(B</strong> - <em>command</em> $B$O<!$N%*%W%7%g%s0l$D$^$?$O$=$l0J>e$r$D$1$F!"(B - $B<B9T$9$k$3$H$,$G$-$^$9!#(B - <strong>start </strong>Apache $B%G!<%b%s$r5/F0$7$^$9!#(B - $B4{$K<B9T$5$l$F$$$k>l9g$O!"%(%i!<$rJV$7$^$9!#(B - - <strong>stop </strong>Apache $B%G!<%b%s$rDd;_$7$^$9!#(B - - <strong>restart </strong>Apache $B%G!<%b%s$K(B SIGHUP - $B$rAw$k$3$H$K$h$j:F5/F0$5$;$^$9!#(B - $B%G!<%b%s$,<B9T$5$l$F$$$J$$>l9g$O5/F0$7$^$9!#(B - $B$3$N%3%^%s%I$O(B Apache $B$,Dd;_$7$J$$$3$H$r3NG'$9$k$?$a(B - $B:F5/F0$r3+;O$9$kA0$K(B <strong>configtest</strong> - $B$K$h$j%U%!%$%k$r<+F0E*$K%A%'%C%/$7$^$9!#(B - - <strong>fullstatus mod_status </strong>$B$K$h$jA4>uBV$rJs9p$7$^$9!#(B - $B$3$l$,5!G=$9$k$?$a$K$O!"%5!<%P>e$G(B mod_status $B$,MxMQ2DG=$G(B - $B%7%9%F%`>e$K$O(B <em>lynx</em> $B$N$h$&$J%F%-%9%H%Y!<%9$N(B - $B%V%i%&%6$,I,MW$G$9!#>uBVJs9p$rF@$k$?$a$K;HMQ$5$l$k(B URL $B$O!"(B - $B%9%/%j%W%H$G(B <strong>STATUSURL</strong> $BJQ?t$rJT=8$9$k(B - $B$3$H$K$h$C$F@_Dj$5$l$^$9!#(B - - <strong>status </strong>$BC;$$>uBVJs9p$rI=<($7$^$9!#(B - $B8=:_Ds6!$5$l$F$$$k%j%/%(%9%H$N%j%9%H$r>JN,$9$k$H(B - $B$$$&$3$H$r=|$1$P!"(B fullstatus $B%*%W%7%g%s$H;w$F$$$^$9!#(B - - <strong>graceful </strong>Apache $B%G!<%b%s$K(B SIGUSR1 $B$rAw$k$3$H(B - $B$K$h$jCJ3,E*$K:F5/F0$7$^$9!#(B - $B%G!<%b%s$,<B9T$5$l$F$$$J$$>l9g$O5/F0$7$^$9!#(B - $B8=:_MxMQCf$N@\B3$OCfCG$5$l$J$$$H$$$&E@$GDL>o$N(B - $B:F5/F0$H$O0[$J$j$^$9!#I{:nMQ$O!"$9$0$K$O8E$$(B - $B%m%0%U%!%$%k$rJD$8$k$3$H$,$G$-$J$$$3$H$G$9!#(B - $B$3$l$O%m%0$N8r49%9%/%j%W%H$r;HMQ$9$k>l9g!"<B:]$NCY1d$,!"(B - $B%m%0%U%!%$%k$r=hM}$9$kA0$KJD$8$i$l$k$3$H$rJ]>Z$9$k$N$K(B - $BI,MW$+$b$7$l$J$$$3$H$r0UL#$7$^$9!#(B - $B$3$N%3%^%s%I$O(B Apache $B$,Dd;_$7$J$$$3$H$r3NG'$9$k$?$a(B - $B:F5/F0$r3+;O$9$kA0$K(B <strong>configtest</strong> - $B$K$h$j%U%!%$%k$r<+F0E*$K%A%'%C%/$7$^$9!#(B - - <strong>configtest </strong>$B@_Dj%U%!%$%k$NJ8K!%F%9%H$r9T$$$^$9!#(B - $B@_Dj%U%!%$%k$rJ,@O$7$F(B <strong>Syntax Ok</strong> $B$+!"(B - $BFCDj$NJ8K!%(%i!<$K$D$$$F$N>\:Y>pJs$rJs9p$7$^$9!#(B - - <strong>help </strong>$BC;$$%X%k%W%a%C%;!<%8$rI=<($7$^$9!#(B - -<strong>$B4XO"9`L\(B</strong> - <strong>httpd(8)</strong> - -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/programs/htpasswd.html.en b/usr.sbin/httpd/htdocs/manual/programs/htpasswd.html.en deleted file mode 100644 index 480fd700ca3..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/htpasswd.html.en +++ /dev/null @@ -1,185 +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>Manual Page: htpasswd - Apache HTTP Server</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: htpasswd</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>NAME</strong> - htpasswd - Create and update user authentication files - -<strong>SYNOPSIS</strong> - <strong>htpasswd</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>passwdfile username</em> - <strong>htpasswd</strong> -<strong>b</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>passwdfile username</em> - <em>password</em> - <strong>htpasswd</strong> -<strong>n</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>username</em> - <strong>htpasswd</strong> -<strong>nb</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>username password</em> - -<strong>DESCRIPTION</strong> - <strong>htpasswd</strong> is used to create and update the flat-files used to - store usernames and password for basic authentication of - HTTP users. If <strong>htpasswd</strong> cannot access a file, such as not - being able to write to the output file or not being able to - read the file in order to update it, it returns an error - status and makes no changes. - - Resources available from the <strong>httpd</strong> Apache web server can be - restricted to just the users listed in the files created by - <strong>htpasswd.</strong> This program can only manage usernames and pass- - words stored in a flat-file. It can encrypt and display - password information for use in other types of data stores, - though. To use a DBM database see <strong>dbmmanage</strong>. - - <strong>htpasswd</strong> encrypts passwords using either a version of MD5 - modified for Apache, or the system's <em>crypt</em>() routine. Files - managed by <strong>htpasswd</strong> may contain both types of passwords; - some user records may have MD5-encrypted passwords while - others in the same file may have passwords encrypted with - <em>crypt</em>(). - - This manual page only lists the command line arguments. For - details of the directives necessary to configure user - authentication in <strong>httpd</strong> see the Apache manual, which is part - of the Apache distribution or can be found at - <URL:http://www.apache.org/>. - -<strong>OPTIONS</strong> - -b Use batch mode; <em>i</em>.<em>e</em>., get the password from the command - line rather than prompting for it. <strong>This option should</strong> - <strong>be used with extreme care, since the password is</strong> - <strong>clearly visible on the command line.</strong> - - -c Create the <em>passwdfile</em>. If <em>passwdfile</em> already exists, it - is rewritten and truncated. This option cannot be com- - bined with the <strong>-n</strong> option. - - -n Display the results on standard output rather than - updating a file. This is useful for generating pass- - word records acceptable to Apache for inclusion in - non-text data stores. This option changes the syntax - of the command line, since the <em>passwdfile</em> argument - (usually the first one) is omitted. It cannot be com- - bined with the <strong>-c</strong> option. - - -m Use Apache's modified MD5 algorithm for passwords. - Passwords encrypted with this algorithm are transport- - able to any platform (Windows, Unix, BeOS, et cetera) - running Apache 1.3.9 or later. On Windows and TPF, - this flag is the default. - - -d Use crypt() encryption for passwords. The default on - all platforms but Windows and TPF. Though possibly sup- - ported by <strong>htpasswd</strong> on all platforms, it is not sup- - ported by the <strong>httpd</strong> server on Windows and TPF. - - -s Use SHA encryption for passwords. Faciliates migration - from/to Netscape servers using the LDAP Directory - Interchange Format (ldif). - - -p Use plaintext passwords. Though <strong>htpasswd</strong> will support - creation on all platforms, the <strong>httpd</strong> deamon will only - accept plain text passwords on Windows and TPF. - - <em>passwdfile</em> - Name of the file to contain the user name and password. - If -c is given, this file is created if it does not - already exist, or rewritten and truncated if it does - exist. - - <em>username</em> - The username to create or update in <strong>passwdfile</strong>. If - <em>username</em> does not exist in this file, an entry is - added. If it does exist, the password is changed. - - <em>password</em> - The plaintext password to be encrypted and stored in - the file. Only used with the -<em>b</em> flag. - -<strong>EXIT STATUS</strong> - <strong>htpasswd</strong> returns a zero status ("true") if the username and - password have been successfully added or updated in the - <em>passwdfile</em>. <strong>htpasswd</strong> returns 1 if it encounters some prob- - lem accessing files, 2 if there was a syntax problem with - the command line, 3 if the password was entered interac- - tively and the verification entry didn't match, 4 if its - operation was interrupted, 5 if a value is too long (user- - name, filename, password, or final computed record), and 6 - if the username contains illegal characters (see the <strong>RES-</strong> - <strong>TRICTIONS</strong> section). - -<strong>EXAMPLES</strong> - <strong>htpasswd /usr/local/etc/apache/.htpasswd-users jsmith</strong> - - Adds or modifies the password for user <em>jsmith</em>. The user - is prompted for the password. If executed on a Windows - system, the password will be encrypted using the modi- - fied Apache MD5 algorithm; otherwise, the system's - <em>crypt</em>() routine will be used. If the file does not - exist, <strong>htpasswd</strong> will do nothing except return an error. - - <strong>htpasswd -c /home/doe/public_html/.htpasswd jane</strong> - - Creates a new file and stores a record in it for user - <em>jane</em>. The user is prompted for the password. If the - file exists and cannot be read, or cannot be written, - it is not altered and <strong>htpasswd</strong> will display a message - and return an error status. - - <strong>htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve</strong> - - Encrypts the password from the command line (<em>Pwd4Steve</em>) - using the MD5 algorithm, and stores it in the specified - file. - -<strong>SECURITY CONSIDERATIONS</strong> - Web password files such as those managed by <strong>htpasswd</strong> should - <strong>not</strong> be within the Web server's URI space -- that is, they - should not be fetchable with a browser. - - The use of the -<em>b</em> option is discouraged, since when it is - used the unencrypted password appears on the command line. - -<strong>RESTRICTIONS</strong> - On the Windows and MPE platforms, passwords encrypted with - <strong>htpasswd</strong> are limited to no more than 255 characters in - length. Longer passwords will be truncated to 255 charac- - ters. - - The MD5 algorithm used by <strong>htpasswd</strong> is specific to the Apache - software; passwords encrypted using it will not be usable - with other Web servers. - - Usernames are limited to 255 bytes and may not include the - character ':'. - -<strong>SEE ALSO</strong> - <strong>httpd(8)</strong> and the scripts in support/SHA1 which come with the - distribution. - -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/programs/htpasswd.html.ja.jis b/usr.sbin/httpd/htdocs/manual/programs/htpasswd.html.ja.jis deleted file mode 100644 index 33a051aef6a..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/htpasswd.html.ja.jis +++ /dev/null @@ -1,184 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Manual Page: htpasswd - Apache HTTP Server</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.3 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: htpasswd</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>$BL>>N(B</strong> - htpasswd - $B%f!<%6G'>Z%U%!%$%k$N:n@.$H99?7(B - -<strong>$B=q<0(B</strong> - <strong>htpasswd</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>passwdfile username</em> - <strong>htpasswd</strong> -<strong>b</strong> [ -<strong>c</strong> ] [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>passwdfile username</em> - <em>password</em> - <strong>htpasswd</strong> -<strong>n</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>username</em> - <strong>htpasswd</strong> -<strong>nb</strong> [ -<strong>m</strong> | -<strong>d</strong> | -<strong>s</strong> | -<strong>p</strong> ] <em>username password</em> - -<strong>$B2r@b(B</strong> - <strong>htpasswd </strong>$B$O!"(BHTTP $B%f!<%6$N4pK\G'>Z$N$?$a%f!<%6L>$H(B - $B%Q%9%o!<%I$r5-O?$9$k$?$a$N%U%i%C%H%U%!%$%k$N:n@.$H99?7$K;HMQ$5$l$^$9!#(B - <strong>htpasswd</strong>$B$,=PNO%U%!%$%k$K=q$-9~$a$J$$!"$^$?99?7$9$k$?$a$K(B - $BFI$_$H$k$3$H$,$G$-$J$$$J$I!"%U%!%$%k$K%"%/%;%9$9$k$3$H$,$G$-$J$$>l9g!"(B - $B%(%i!<%9%F!<%?%9$rJV$7!"JQ99$r9T$$$^$;$s!#(B - - <strong>httpd</strong> Apache $B%&%'%V%5!<%P$O(B $B%j%=!<%9$N;HMQ$r(B <strong>htpasswd</strong> - $B$K$h$C$F:n@.$5$l$k%U%!%$%k$K%j%9%H$5$l$?%f!<%6$@$1$K@)8B$9$k(B - $B$3$H$,$G$-$^$9!#$3$N%W%m%0%i%`$O%U%i%C%H%U%!%$%k$K5-O?$5$l$?(B - $B%f!<%6L>$H%Q%9%o!<%I$N4IM}$N$_$r9T$J$&$3$H$,$G$-$^$9!#(B - $B$H$O8@$C$F$b!"B>$N%?%$%W$N%G!<%?$N5-O?$N$?$a$K;HMQ$7$F$b(B - $B%Q%9%o!<%I>pJs$r0E9f2=$7$FI=<($9$k$3$H$,$G$-$^$9!#(B - DBM $B%G!<%?%Y!<%9$r;HMQ$9$k$?$a$K$O(B <strong>dbmmanage</strong> $B$r8+$F$/$@$5$$!#(B - - <strong>htpasswd</strong> $B$O(B Apache $BMQ$K2~B$$5$l$?%P!<%8%g%s$N(B MD5 $B$+$^$?$O(B - $B%7%9%F%`$N(B <em>crypt()</em> $B%k!<%A%s$r;HMQ$7$F%Q%9%o!<%I$r0E9f2=$7$^$9!#(B - <strong>htpasswd</strong> $B$G4IM}$5$l$?%U%!%$%k$ON>J}$N%?%$%W$N%Q%9%o!<%I(B - $B$r4^$`$+$b$7$l$^$;$s(B; $B$"$k%f!<%6%l%3!<%I$,(B MD5 $B$G0E9f2=$5$l$?(B - $B%Q%9%o!<%I$G$"$k$N$KBP$7!"F1$8%U%!%$%k$NB>$N%f!<%6$O(B <em>crypt()</em> $B$K$h$j(B - $B0E9f2=$5$l$?%Q%9%o!<%I$G$"$k$+$b$7$l$^$;$s!#(B - - $B$3$N%^%K%e%"%k%Z!<%8$O%3%^%s%I%i%$%s$N0z?t$r5s$2$F$$$k$@$1$G$9!#(B - <strong>httpd</strong> $B$N%f!<%6G'>Z@_Dj$KI,MW$J%G%#%l%/%F%#%V(B $B$N>\:Y$O!"(B - Apache $BG[I[J*$d(B <URL:http://www.apache.org/> $B$G8+$D$1$k$3$H$,$G$-$k(B - Apache $B%^%K%e%"%k$r;2>H$7$F$/$@$5$$!#(B - - -<strong>$B%*%W%7%g%s(B</strong> - -b $B%P%C%A%b!<%I$N;HMQ(B <em>$B$9$J$o$A(B</em> $B!"%W%m%s%W%H$G$O$J$/(B - $B%3%^%s%I%i%$%s$+$i%Q%9%o!<%I$rF@$^$9!#(B<strong>$B%Q%9%o!<%I$,(B</strong> - <strong>$B%3%^%s%I%i%$%s>e$GL@3N$KL\$K8+$($k$N$G!"(B</strong> - <strong>$B$3$N%*%W%7%g%s$O6K$a$FCm0U$7$F;HMQ$5$l$k$Y$-$G$9!#(B</strong> - - -c <em>$B%Q%9%o!<%I%U%!%$%k(B</em>$B$r:n@.$7$^$9!#(B<em>$B%Q%9%o!<%I%U%!%$%k(B</em> - $B$,$9$G$K$"$k>l9g!">e=q$-$5$l$F@Z$j<N$F$i$l$^$9!#(B $B$3$N%*%W%7%g%s$O(B - <strong>-n </strong>$B%*%W%7%g%s$HAH$_9g$o$;$k$3$H$,$G$-$^$;$s!#(B - - -n $B%U%!%$%k$r99?7$9$k$N$G$O$J$/I8=`=PNO$K7k2L$rI=<($7$^$9!#(B - $BHs%F%-%9%H%G!<%?$,4^$^$l$F$$$F(B Apache $B$K<u$1F~$l$i$l$k(B - $B%Q%9%o!<%I%l%3!<%I$r@8@.$9$k$N$KM-1W$G$9!#(B - $B$3$N%*%W%7%g%s$O(B<em>$B%Q%9%o!<%I%U%!%$%k(B</em>$B$N0z?t(B - ($BDL>o$O:G=i$N$b$N(B)$B$,>JN,$5$l$k$N$G!"%3%^%s%I%i%$%s$NJ8K!$,(B - $B@Z$jBX$o$j$^$9!#(B - <strong>-c </strong>$B%*%W%7%g%s$HAH$_9g$o$;$k$3$H$O$G$-$^$;$s!#(B - - -m $B%Q%9%o!<%I$K(B Apache $BMQ$K2~B$$5$l$?(B MD5 $B%"%k%4%j%:%`$r;HMQ(B - $B$7$^$9!#$3$N%"%k%4%j%:%`$K$h$j0E9f2=$5$l$?%Q%9%o!<%I$O!"(B - Apache 1.3.9 $B$^$?$O$=$l0J9_$,F0$$$F$$$k$"$i$f$k%W%i%C%H(B - $B%[!<%`(B (Windows, Unix, BeOS, $B$=$NB>(B) $B$K0\?"2DG=$G$9!#(B - Windows $B$H(B TPF $B$G$O$3$N%U%i%0$,%G%U%)%k%H$G$9!#(B - - -d $B%Q%9%o!<%I$K(B crypt() $B0E9f2=$r;HMQ$7$^$9!#(BWindows $B$H(B TPF - $B0J30$N$9$Y$F$N%W%i%C%H%U%)!<%`$G%G%U%)%k%H$G$9!#(B - $B$*$=$i$/$9$Y$F$N%W%i%C%H%U%)!<%`$G$N(B <strong>htpasswd</strong> - $B$K$h$j%5%]!<%H$5$l$^$9$,!"(BWindows $B$H(B TPF $B$N(B <strong>httpd</strong> - $B%5!<%P$K$h$k%5%]!<%H$O$"$j$^$;$s!#(B - - -s $B%Q%9%o!<%I$K(B SHA $B0E9f2=$r;HMQ$7$^$9!#(BLDAP $B%G%#%l%/%H%j(B - $BJQ49%U%)!<%^%C%H(B (ldif) $B$r;HMQ$9$k(B Netscape $B%5!<%P(B - $B$+$i$N(B/$B$X$N(B $B0\9T$rMF0W$K$7$^$9!#(B - - -p $B%W%l!<%s%F%-%9%H%Q%9%o!<%I$r;HMQ$7$^$9!#(B <strong>htpasswd</strong> - $B$,$9$Y$F$N%W%i%C%H%U%)!<%`$G$N:n@.$r%5%]!<%H$7$F$b(B <strong>httpd</strong> - $B%G!<%b%s$O(B Windows $B$H(B TPF $B>e$G$O!"%W%l!<%s%F%-%9%H$N%Q%9%o!<%I(B - $B$N$_<uIU$1$k$G$7$g$&!#(B - - <em>passwdfile</em> - $B%f!<%6L>$H%Q%9%o!<%I$,4^$^$l$F$$$k%U%!%$%kL>$G$9!#(B - $B$b$7(B -c $B$,M?$($i$l$?>l9g!"%U%!%$%k$,B8:_$7$J$$$J$i$P(B - $B%U%!%$%k$r:n@.$7!"$^$?B8:_$7$F$$$k$J$i!">e=q$-$5$l$^$9!#(B - - <em>username</em> - <strong>passwdfile</strong> $B$K:n@.$^$?$O99?7$9$k%f!<%6L>$G$9!#(B - <em>username</em> $B$,B8:_$7$J$$>l9g$O%(%s%H%j$rDI2C$7$^$9!#(B - $BB8:_$9$k>l9g$K$O%Q%9%o!<%I$rJQ99$7$^$9!#(B - - <em>password</em> - $B%U%!%$%k$K0E9f2=$5$l$F5-O?$5$l$k%W%l!<%s%F%-%9%H$N(B - $B%Q%9%o!<%I$G$9!#(B -<em>b</em> $B%U%i%0$G$N$_;HMQ$5$l$^$9!#(B - -<strong>$B=*N;%9%F!<%?%9(B</strong> - $B%f!<%6L>$H%Q%9%o!<%I$,<sHx$h$/(B <em>passwdfile</em> $B$KDI2C$^$?$O99?7(B - $B$5$l$?>l9g!"(B<strong>htpasswd</strong> $B$O%<%m%9%F!<%?%9(B ("$B??(B") $B$rJV$7$^$9!#(B - <strong>htpasswd</strong> $B$O!"%U%!%$%k%"%/%;%9$NLdBj$KAx6x$7$?>l9g$O(B 1$B!"(B - $B%3%^%s%I%i%$%s$K4X$9$kJ8K!$NLdBj$,$"$C$?>l9g$O(B 2$B!"(B - $BBPOC<0$G%Q%9%o!<%I$rF~NO$7$?:]$K3NG'$N%(%s%H%j$,%^%C%A$7$J$+$C$?>l9g$O(B 3$B!"(B - $BA`:n$,CfCG$5$l$?>l9g$O(B 4$B!"(B($B%f!<%6L>!"%U%!%$%kL>!"%Q%9%o!<%I!"$^$?$O(B - $B:G8e$K7W;;$5$l$?%l%3!<%I(B) $B$K$*$$$FCM$,D9$9$.$k>l9g$O(B 5$B!"(B - $B%f!<%6L>$KIT@5$JJ8;z$,4^$^$l$F$$$k(B(<strong>RESTRICTIONS</strong> - $B%;%/%7%g%s$r8+$F$/$@$5$$(B) $B>l9g$O(B 6 $B$rJV$7$^$9!#(B - -<strong>$BNc(B</strong> - <strong>htpasswd /usr/local/etc/apache/.htpasswd-users jsmith</strong> - - $B%f!<%6(B <em>jsmith</em> $B$N%Q%9%o!<%I$rDI2C$^$?$O=$@5$7$^$9!#(B - $B%f!<%6$O%Q%9%o!<%I$NF~NO$rB%$5$l$^$9!#(BWindows $B%7%9%F%`>e$G(B - $B<B9T$5$l$?>l9g!"%Q%9%o!<%I$O(B Apache MD5 $B%"%k%4%j%:%`$r;HMQ$7$F(B - $B0E9f2=$5$l$k$G$7$g$&!#B>$N>l9g$O!"%7%9%F%`$N(B <em>crypt()</em> - $B%k!<%A%s$,;HMQ$5$l$k$G$7$g$&!#%U%!%$%k$,B8:_$7$J$$>l9g!"(B - <strong>htpasswd</strong> $B$O%(%i!<$rJV$90J30$K$O2?$b$7$J$$$G$7$g$&!#(B - - <strong>htpasswd -c /home/doe/public_html/.htpasswd jane</strong> - - $B?7$7$$%U%!%$%k$r:n@.$7!"%f!<%6(B <em>jane</em> $B$N%l%3!<%I$r5-O?$7$^$9!#(B - $B%f!<%6$O%Q%9%o!<%I$NF~NO$rB%$5$l$^$9!#(B - $B%U%!%$%k$,B8:_$9$k$1$l$IFI$a$J$$$^$?$O=q$-9~$_$,$G$-$J$$>l9g$O(B - $BJQ99$5$l$:!"(B<strong>htpasswd</strong> $B$O%a%C%;!<%8$rI=<($7$F(B - $B%(%i!<%9%F!<%?%9$rJV$9$G$7$g$&!#(B - - <strong>htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve</strong> - - MD5 $B%"%k%4%j%:%`$r;H$C$F%3%^%s%I%i%$%s$+$i$N%Q%9%o!<%I(B - (<em>Pwd4Steve</em>) $B$r0E9f2=$7!";XDj$5$l$?%U%!%$%k$K5-O?$7$^$9!#(B - -<strong>$B%;%-%e%j%F%#$N=EMW@-(B</strong> - <strong>htpasswd</strong> $B$K$h$C$F4IM}$5$l$k$h$&$J%&%'%V%Q%9%o!<%I%U%!%$%k(B - $B$O%&%'%V%5!<%P$N(B URI $B$N>l=jFb$K$"$k$Y$-$G$O$"$j$^$;$s!#(B-- - $B$9$J$o$A!"%&%'%V%V%i%&%6$K$h$C$F8F$S=P$72DG=$H$9$k$Y$-$G$O$"$j$^$;$s!#(B - - -<em>b</em> $B%*%W%7%g%s$N;HMQ$9$kJ}K!$O!"0E9f2=$5$l$F$$$J$$%Q%9%o!<%I$,(B - $B%3%^%s%I%i%$%s$K8=$l$?$H$-$+$iM^;_$5$l$^$9!#(B - -<strong>$B@)8B(B</strong> - Windows $B$H(B MPE $B%W%i%C%H%U%)!<%`$G(B <strong>htpasswd</strong> $B$G0E9f2=$5$l$?(B - $B%Q%9%o!<%I$O(B 255 $BJ8;z$ND9$5$@$1$K@)8B$5$l$F$$$^$9!#(B - $B$h$jD9$$%Q%9%o!<%I$O(B 255 $BJ8;z$K@Z$j<N$F$i$l$k$G$7$g$&!#(B - - <strong>htpasswd </strong>$B$K$h$C$F;HMQ$5$l$k(B MD5 $B%"%k%4%j%:%`$O(B Apache - $B%=%U%H%&%'%"$KFCM-$G!"$=$l$rMQ$$$F0E9f2=$5$l$?%Q%9%o!<%I$O(B - $BB>$N%&%'%V%5!<%P$G$O;HMQ$G$-$J$$$G$7$g$&!#(B - - $B%f!<%6L>$O(B 255 $B%P%$%H$K@)8B$5$l!"%-%c%i%/%?(B ':' $B$r4^$^$l$J(B - $B$$$+$b$7$l$^$;$s!#(B - -<strong>$B4XO"9`L\(B</strong> - SHA1 $B%5%]!<%H$N(B <strong>httpd(8)</strong> $B$H%9%/%j%W%H$OG[I[J*$H6&$K(B - $B=PMh>e$,$j$^$9!#(B - -</pre> - - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/programs/httpd.html.en b/usr.sbin/httpd/htdocs/manual/programs/httpd.html.en deleted file mode 100644 index 9a0e9d2d473..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/httpd.html.en +++ /dev/null @@ -1,141 +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>Manual Page: httpd - Apache HTTP Server</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: httpd</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>NAME</strong> - httpd - Apache hypertext transfer protocol server - -<strong>SYNOPSIS</strong> - <strong>httpd</strong> [ -<strong>X</strong> ] [ -<strong>R</strong> <em>libexecdir</em> ] [ -<strong>d</strong> <em>serverroot</em> ] [ -<strong>f</strong> <em>config</em> - ] [ -<strong>C</strong> <em>directive</em> ] [ -<strong>c</strong> <em>directive</em> ] [ -<strong>D</strong> <em>parameter</em> ] - - <strong>httpd</strong> [ -<strong>h</strong> ] [ -<strong>l</strong> ] [ -<strong>L</strong> ] [ -<strong>v</strong> ] [ -<strong>V</strong> ] [ -<strong>S</strong> ] [ -<strong>t</strong> ] [ -<strong>T</strong> - ] - -<strong>DESCRIPTION</strong> - <strong>httpd</strong> is the Apache HyperText Transfer Protocol (HTTP) - server program. It is designed to be run as a standalone - daemon process. When used like this it will create a pool of - child processes to handle requests. To stop it, send a TERM - signal to the initial (parent) process. The PID of this pro- - cess is written to a file as given in the configuration - file. Alternatively <strong>httpd</strong> may be invoked by the Internet - daemon inetd(8) each time a connection to the HTTP service - is made. - - This manual page only lists the command line arguments. For - details of the directives necessary to configure <strong>httpd</strong> see - the Apache manual, which is part of the Apache distribution - or can be found at http://www.apache.org/. Paths in this - manual may not reflect those compiled into <strong>httpd.</strong> - -<strong>OPTIONS</strong> - -<strong>R</strong> <em>libexecdir</em> - This option is only available if Apache was - built with the <em>SHARED</em>_<em>CORE</em> rule enabled which - forces the Apache core code to be placed into a - dynamic shared object (DSO) file. This file is - searched in a hardcoded path under ServerRoot - per default. Use this option if you want to - override it. - - -<strong>d</strong> <em>serverroot</em> - Set the initial value for the ServerRoot direc- - tive to <em>serverroot</em>. This can be overridden by - the ServerRoot command in the configuration - file. The default is <strong>/usr/local/apache</strong>. - - -<strong>f</strong> <em>config</em> Execute the commands in the file <em>config</em> on - startup. If <em>config</em> does not begin with a /, then - it is taken to be a path relative to the Server- - Root. The default is <strong>conf/httpd.conf</strong>. - - -<strong>C</strong> <em>directive</em> - Process the configuration <em>directive</em> before read- - ing config files. - - -<strong>c</strong> <em>directive</em> - Process the configuration <em>directive</em> after read- - ing config files. - - -<strong>D</strong> <em>parameter</em> - Sets a configuration <em>parameter</em> which can be used - with <IfDefine>...</IfDefine> sections in the - configuration files to conditionally skip or - process commands. - - -<strong>h </strong> Output a short summary of available command line - options. - - -<strong>l </strong> Output a list of modules compiled into the - server. - - -<strong>L </strong> Output a list of directives together with - expected arguments and places where the direc- - tive is valid. - - -<strong>S </strong> Show the settings as parsed from the config file - (currently only shows the virtualhost settings). - - -<strong>t </strong> Run syntax tests for configuration files only. - The program immediately exits after these syntax - parsing with either a return code of 0 (Syntax - OK) or return code not equal to 0 (Syntax - Error). - - -<strong>T </strong> Same as option -<strong>t</strong> but does not check the config- - ured document roots. - - -<strong>X </strong> Run in single-process mode, for internal debug- - ging purposes only; the daemon does not detach - from the terminal or fork any children. Do NOT - use this mode to provide ordinary web service. - - -<strong>v </strong> Print the version of <strong>httpd</strong> , and then exit. - - -<strong>V </strong> Print the version and build parameters of <strong>httpd</strong> - , and then exit. - -<strong>FILES</strong> - <strong>/usr/local/apache/conf/httpd.conf</strong> - <strong>/usr/local/apache/conf/srm.conf</strong> - <strong>/usr/local/apache/conf/access.conf</strong> - <strong>/usr/local/apache/conf/mime.types</strong> - <strong>/usr/local/apache/conf/magic</strong> - <strong>/usr/local/apache/logs/error_log</strong> - <strong>/usr/local/apache/logs/access_log</strong> - <strong>/usr/local/apache/logs/httpd.pid</strong> - -<strong>SEE ALSO</strong> - <strong>inetd</strong>(8). - -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/programs/httpd.html.ja.jis b/usr.sbin/httpd/htdocs/manual/programs/httpd.html.ja.jis deleted file mode 100644 index 4f7a302976f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/httpd.html.ja.jis +++ /dev/null @@ -1,138 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Manual Page: httpd - Apache HTTP Server</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.3 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: httpd</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>$BL>>N(B</strong> - httpd - Apache $B%O%$%Q!<%F%-%9%HE>Aw%W%m%H%3%k(B (HTTP) $B%5!<%P(B - -<strong>$B=q<0(B</strong> - <strong>httpd</strong> [ -<strong>X</strong> ] [ -<strong>R</strong> <em>libexecdir</em> ] [ -<strong>d</strong> <em>serverroot</em> ] [ -<strong>f</strong> <em>config</em> - ] [ -<strong>C</strong> <em>directive</em> ] [ -<strong>c</strong> <em>directive</em> ] [ -<strong>D</strong> <em>parameter</em> ] - - <strong>httpd</strong> [ -<strong>h</strong> ] [ -<strong>l</strong> ] [ -<strong>L</strong> ] [ -<strong>v</strong> ] [ -<strong>V</strong> ] [ -<strong>S</strong> ] [ -<strong>t</strong> ] [ -<strong>T</strong> - ] - -<strong>$B2r@b(B</strong> - <strong>httpd</strong> $B$O(B Apache $B%O%$%Q!<%F%-%9%HE>Aw%W%m%H%3%k(B (HTTP) $B%5!<%P(B - $B%W%m%0%i%`$G$9!#%9%?%s%I%"%m%s%G!<%b%s%W%m%;%9$H$7$F<B9T$9$k$h$&(B - $B@_7W$5$l$F$$$^$9!#$=$N$h$&$KMxMQ$5$l$k>l9g!"%j%/%(%9%H$r=hM}$9$k(B - $B$?$a$K;R%W%m%;%9$N%W!<%k$r:n@.$7$^$9!#Dd;_$5$;$k$?$a$K$O(B TERM - $B%7%0%J%k$r:G=i$N(B ($B?F(B) $B%W%m%;%9$XAw$C$F$/$@$5$$!#?F%W%m%;%9$N(B - PID $B$O!"@_Dj%U%!%$%kCf$G;XDj$5$l$?%U%!%$%k$K=q$-9~$^$l$^$9!#(B - <strong>httpd</strong> $B$O!"%9%?%s%I%"%m%s%G!<%b%s%W%m%;%9$H$7$F(B - $B$G$O$J$/!"(BHTTP $B%5!<%S%9$X@\B3$5$l$k$?$S$K%$%s%?!<%M%C%H%9!<%Q!<(B - $B%5!<%P(B inetd(8) $B$+$i5/F0$5$;$k$3$H$b$G$-$^$9!#(B - - $B$3$N%^%K%e%"%k%Z!<%8$O%3%^%s%I%i%$%s$N0z?t$r%j%9%H$7$F$$$k$@$1$G$9!#(B - <strong>httpd</strong> $B$N@_Dj$KI,MW$J%G%#%l%/%F%#%V$N>\:Y$O!"(BApache $BG[I[J*$d(B - http://www.apache.org/ $B$G8+$D$1$k$3$H$,$G$-$k(B Apache $B%^%K%e%"%k$r(B - $B;2>H$7$F$/$@$5$$!#$3$N%^%K%e%"%k$N%Q%9$O!"(B<strong>httpd</strong> $B$K%3%s%Q%$%k$5$l$F$$$k$b$N$H$O0c$&$+$b$7$l$^$;$s!#(B - -<strong>$B%*%W%7%g%s(B</strong> - -<strong>R</strong> <em>libexecdir</em> - $B$3$N%*%W%7%g%s$O(B Apache $B$r(B <em>SHARED</em>_<em>CORE</em> $B%k!<%k$r2DG=$K(B - $B$7$F%S%k%I$7$?>l9g$N$_MxMQ2DG=$G$9!#$=$N>l9g!"(BApache $B%3%"%3!<%I(B - $B$KF0E*$J6&M-%*%V%8%'%/%H(B (DSO) $B%U%!%$%k$KCV$+$l$^$9!#(B - $B$=$N%U%!%$%k$O%G%U%)%k%H$G(B ServerRoot $BG[2<$N(B - $B%O!<%I%3!<%I$5$l$?%Q%9Cf$+$i8!:w$5$l$^$9!#(B - $B$=$l$r>e=q$-$7$?$$>l9g$K$3$N%*%W%7%g%s$r;HMQ$7$F$/$@$5$$!#(B - - -<strong>d</strong> <em>serverroot</em> - ServerRoot $B%G%#%l%/%F%#%V$N=i4|CM$r(B <em>serverroot</em> $B$G@_Dj(B - $B$7$^$9!#$3$NCM$O@_Dj%U%!%$%k$N(B Server-Root $B%3%^%s%I$G(B - $B>e=q$-2DG=$G$9!#%G%U%)%k%H$O(B <strong>/usr/local/apache</strong> $B$G$9!#(B - - -<strong>f</strong> <em>config</em> - $B5/F0;~$K!"(B<em>config</em> $B$G;XDj$5$l$?%U%!%$%kCf$N%3%^%s%I$r(B - $B<B9T$7$^$9!#(B<em>config</em> $B$,(B / $B$G;O$^$i$J$$>l9g!"(BServerRoot - $B$+$i$NAjBP%Q%9$H2r<a$7$^$9!#(B - $B%G%U%)%k%H$O(B <strong>conf/httpd.conf</strong> $B$G$9!#(B - - -<strong>C</strong> <em>directive</em> - $B@_Dj%U%!%$%k$rFI$_$3$`A0$K(B <em>directive</em> $B$r=hM}$7$^$9!#(B - - -<strong>c</strong> <em>directive</em> - $B@_Dj%U%!%$%k$rFI$_$3$s$@8e$K(B <em>directive</em> $B$r=hM}$7$^$9!#(B - - -<strong>D</strong> <em>parameter</em> - $B@_Dj%U%!%$%k$G>r7o$K$h$C$F%3%^%s%I$r%9%-%C%W$^$?$O=hM}(B - $B$9$k(B <IfDefine>...</IfDefine> $B%;%/%7%g%s$H6&$K;HMQ$9$k(B - $B$3$H$,$G$-$k(B <em>parameter</em> $B$r@_Dj$7$^$9!#(B - - -<strong>h </strong> - $BMxMQ2DG=$J%3%^%s%I%i%$%s%*%W%7%g%s$NC;$$MWLs$r=PNO$7$^$9!#(B - - -<strong>l </strong> - $B%5!<%P$K%3%s%Q%$%k$5$l$F$$$k%b%8%e!<%k$N%j%9%H$r=PNO$7$^$9!#(B - - -<strong>L </strong> - $B%G%#%l%/%F%#%V$N%j%9%H$r4|BT$5$l$k0z?t$H%G%#%l%/%F%#%V$,(B - $BM-8z$J>l=j$H6&$K=PNO$7$^$9!#(B - - -<strong>S </strong> - $B@_Dj%U%!%$%k$+$i2r@O$5$l$?@_Dj$rI=<($7$^$9(B - ($B8=:_$O%P!<%A%c%k%[%9%H$N@_Dj$N$_$rI=<($7$^$9(B)$B!#(B - - -<strong>t </strong> - $B@_Dj%U%!%$%k$NJ8K!%F%9%H$N$_$r9T$J$$$^$9!#%W%m%0%i%`$O(B - $BJ8K!2r@O$K$h$j(B 0 $B$N%j%?!<%s%3!<%I(B ($BJ8K!(B OK) $B$+Hs(B 0 $B$N(B - $B=*N;%3!<%I(B ($BJ8K!%(%i!<(B) $B$rJV$7$F$9$0$K=*N;$7$^$9!#(B - - -<strong>T </strong> - $B%*%W%7%g%s(B -<strong>t</strong> $B$HF1MM$G$9$,!"@_Dj$5$l$?%I%-%e%a%s%H(B - $B%k!<%H$r%A%'%C%/$7$^$;$s!#(B - - -<strong>X </strong> - $BFbIt$N%G%P%C%0L\E*$N$?$a$N$_$N%7%s%0%k%W%m%;%9%b!<%I$G(B - $B<B9T$7$^$9!#%G!<%b%s$O%?!<%_%J%k$+$iN%$l$:!";R%W%m%;%9(B - $B$r(B fork $B$7$^$;$s!#DL>o$N%&%'%V%5!<%S%9$r9T$J$&>l9g!"(B - $B$3$N%b!<%I$r;HMQ$7$F$O$$$1$^$;$s!#(B - - -<strong>v httpd</strong> $B$N%P!<%8%g%s$r=PNO$7$F=*N;$7$^$9!#(B - - -<strong>V httpd</strong> $B$N%P!<%8%g%s$H%S%k%I%Q%i%a!<%?$r=PNO$7$F=*N;$7$^$9!#(B - -<strong>$B4XO"%U%!%$%k(B</strong> - <strong>/usr/local/apache/conf/httpd.conf</strong> - <strong>/usr/local/apache/conf/srm.conf</strong> - <strong>/usr/local/apache/conf/access.conf</strong> - <strong>/usr/local/apache/conf/mime.types</strong> - <strong>/usr/local/apache/conf/magic</strong> - <strong>/usr/local/apache/logs/error_log</strong> - <strong>/usr/local/apache/logs/access_log</strong> - <strong>/usr/local/apache/logs/httpd.pid</strong> - -<strong>$B4XO"9`L\(B</strong> - <strong>inetd</strong>(8) - -</pre> - - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/programs/index.html.en b/usr.sbin/httpd/htdocs/manual/programs/index.html.en deleted file mode 100644 index 330876ed88e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/index.html.en +++ /dev/null @@ -1,82 +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>Apache HTTP Server and Supporting Programs</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Server and Supporting Programs</h1> - - <p>This page documents all the executable programs included - with the Apache HTTP Server.</p> - - <dl> - <dt><a href="httpd.html">httpd</a></dt> - - <dd>Apache hypertext transfer protocol server</dd> - - <dt><a href="apachectl.html">apachectl</a></dt> - - <dd>Apache HTTP server control interface</dd> - - <dt><a href="ab.html">ab</a></dt> - - <dd>Apache HTTP server benchmarking tool</dd> - - <dt><a href="apxs.html">apxs</a></dt> - - <dd>APache eXtenSion tool</dd> - - <dt><a href="dbmmanage.html">dbmmanage</a></dt> - - <dd>Create and update user authentication files in DBM format - for basic authentication</dd> - - <dt><a href="htdigest.html">htdigest</a></dt> - - <dd>Create and update user authentication files for digest - authentication</dd> - - <dt><a href="htpasswd.html">htpasswd</a></dt> - - <dd>Create and update user authentication files for basic - authentication</dd> - - <dt><a href="logresolve.html">logresolve</a></dt> - - <dd>Resolve hostnames for IP-addresses in Apache - logfiles</dd> - - <dt><a href="rotatelogs.html">rotatelogs</a></dt> - - <dd>Rotate Apache logs without having to kill the server</dd> - - <dt><a href="suexec.html">suexec</a></dt> - - <dd>Switch User For Exec</dd> - - <dt><a href="other.html">Other Programs</a></dt> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/programs/index.html.ja.jis b/usr.sbin/httpd/htdocs/manual/programs/index.html.ja.jis deleted file mode 100644 index 97c7fdd7357..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/index.html.ja.jis +++ /dev/null @@ -1,81 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Apache HTTP Server and Supporting Programs</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.3 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">$B%5!<%P$H%5%]!<%H%W%m%0%i%`(B</h1> - - <p>$B$3$N%Z!<%8$G$O!"(BApache HTTP $B%5!<%P$H$H$b$KDs6!$5$l$F$$$k<B9T(B - $B%W%m%0%i%`$rA4$F:\$;$F$$$^$9!#(B</p> - - <dl> - <dt><a href="httpd.html">httpd</a></dt> - - <dd>Apache $B%O%$%Q!<%F%-%9%HE>Aw%W%m%H%3%k%5!<%P(B</dd> - - <dt><a href="apachectl.html">apachectl</a></dt> - - <dd>Apache HTTP $B%5!<%P%3%s%H%m!<%k%$%s%?!<%U%'!<%9(B</dd> - - <dt><a href="ab.html">ab</a></dt> - - <dd>Apache HTTP $B%5!<%P%Y%s%A%^!<%/%D!<%k(B</dd> - - <dt><a href="apxs.html">apxs</a></dt> - - <dd>Apache $B3HD%%D!<%k(B</dd> - - <dt><a href="dbmmanage.html">dbmmanage</a></dt> - - <dd>Basic $BG'>Z$K$*$$$FMxMQ$9$k(B DBM $B=q<0$G$N%f!<%6G'>ZMQ%U%!%$%k$N(B - $B:n@.$H99?7(B</dd> - - <dt><a href="htdigest.html">htdigest</a></dt> - - - <dd>Digest $BG'>Z$K$*$$$FMxMQ$9$k%f!<%6G'>ZMQ%U%!%$%k$N:n@.$H99?7(B</dd> - - <dt><a href="htpasswd.html">htpasswd</a></dt> - - <dd>Basic $BG'>Z$K$*$$$FMxMQ$9$k%f!<%6G'>ZMQ%U%!%$%k$N:n@.$H99?7(B</dd> - - - <dt><a href="logresolve.html">logresolve</a></dt> - - <dd>Apache $B%m%0%U%!%$%kFb$K$*$1$k(B IP $B%"%I%l%9$N%[%9%HL>2r7h(B</dd> - - - <dt><a href="rotatelogs.html">rotatelogs</a></dt> - - <dd>$B%5!<%P$r!!(Bkill $B$7$J$$$G(B Apache $B%m%0$r%m!<%F!<%H$9$k(B</dd> - - <dt><a href="suexec.html">suexec</a></dt> - - <dd>Apache $B$,(B Exec $B$9$k:]$N%f!<%6@ZBX(B</dd> - - <dt><a href="other.html">$B$=$NB>$N%W%m%0%i%`(B</a></dt> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/programs/suexec.html.en b/usr.sbin/httpd/htdocs/manual/programs/suexec.html.en deleted file mode 100644 index 7485c4b3ae7..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/suexec.html.en +++ /dev/null @@ -1,52 +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>Manual Page: suexec - Apache HTTP Server</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: suexec</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>NAME</strong> - suexec - Switch User For Exec - -<strong>SYNOPSIS</strong> - No synopsis for usage, because this program is used inter- - nally by Apache only. - -<strong>DESCRIPTION</strong> - <strong>suexec</strong> is the "wrapper" support program for the suEXEC - behavior for Apache. It is run from within Apache automat- - ically to switch the user when an external program has to be - run under a different user. For more information about - suEXEC see the document `Apache suEXEC Support' under - http://www.apache.org/docs/suexec.html . - -<strong>SEE ALSO</strong> - <strong>httpd(8)</strong> - -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/programs/suexec.html.ja.jis b/usr.sbin/httpd/htdocs/manual/programs/suexec.html.ja.jis deleted file mode 100644 index 212f2083ea4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/programs/suexec.html.ja.jis +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Manual Page: suexec - Apache HTTP Server</title> - - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.4 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Manual Page: suexec</h1> - <!-- This document was autogenerated from the man page --> -<pre> -<strong>$BL>>N(B</strong> - suexec - Apache $B$,(B Exec $B$9$k:]$N%f!<%6@ZBX(B - -<strong>$B=q<0(B</strong> - $B;HMQJ}K!$N=q<0$O$"$j$^$;$s!#$J$<$J$i$3$N%W%m%0%i%`$O(B - Apache $BFbIt$G$N$_;HMQ$5$l$k$+$i$G$9!#(B - -<strong>$B2r@b(B</strong> - <strong>suexec</strong> $B$O(B Apache $B$N(B suEXEC $B:nMQ$N$?$a$N(B "wrapper" $B%5%]!<%H(B - $B%W%m%0%i%`$G$9!#30It$N%W%m%0%i%`$,0[$J$k%f!<%6$N2<$G<B9T$5$l(B - $B$J$1$l$P$J$i$J$$$H$-!"(BApache $BFb$+$i<+F0E*$K%f!<%6$N@ZBX$,<B9T(B - $B$5$l$^$9!#(B suEXEC $B$K$D$$$F$N99$J$k>pJs$O!"(B - http://www.apache.org/docs/suexec.html $B0J2<$N%I%-%e%a%s%H(B - `Apache suEXEC Support' $B$r8+$F$/$@$5$$!#(B - -<strong>$B4XO"9`L\(B</strong> - <strong>httpd(8)</strong> - -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/vhosts/fd-limits.html.en b/usr.sbin/httpd/htdocs/manual/vhosts/fd-limits.html.en deleted file mode 100644 index b32289163ff..00000000000 --- a/usr.sbin/httpd/htdocs/manual/vhosts/fd-limits.html.en +++ /dev/null @@ -1,83 +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>Apache Server Virtual Host Support</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">File Descriptor Limits</h1> - - <p>When using a large number of Virtual Hosts, Apache may run - out of available file descriptors (sometimes called <cite>file - handles</cite> if each Virtual Host specifies different log - files. The total number of file descriptors used by Apache is - one for each distinct error log file, one for every other log - file directive, plus 10-20 for internal use. Unix operating - systems limit the number of file descriptors that may be used - by a process; the limit is typically 64, and may usually be - increased up to a large hard-limit.</p> - - <p>Although Apache attempts to increase the limit as required, - this may not work if:</p> - - <ol> - <li>Your system does not provide the setrlimit() system - call.</li> - - <li>The setrlimit(RLIMIT_NOFILE) call does not function on - your system (such as Solaris 2.3)</li> - - <li>The number of file descriptors required exceeds the hard - limit.</li> - - <li>Your system imposes other limits on file descriptors, - such as a limit on stdio streams only using file descriptors - below 256. (Solaris 2)</li> - </ol> - In the event of problems you can: - - <ul> - <li>Reduce the number of log files; don't specify log files - in the VirtualHost sections, but only log to the main log - files.</li> - - <li> - If you system falls into 1 or 2 (above), then increase the - file descriptor limit before starting Apache, using a - script like - - <blockquote> - <code>#!/bin/sh<br /> - ulimit -S -n 100<br /> - exec httpd</code> - </blockquote> - </li> - </ul> - - <p>Please see the <a - href="../misc/descriptors.html">Descriptors and Apache</a> - document containing further details about file descriptor - problems and how they can be solved on your operating - system.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/vhosts/fd-limits.html.ja.jis b/usr.sbin/httpd/htdocs/manual/vhosts/fd-limits.html.ja.jis deleted file mode 100644 index 8896b8f1919..00000000000 --- a/usr.sbin/httpd/htdocs/manual/vhosts/fd-limits.html.ja.jis +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%5!<%P$N%P!<%A%c%k%[%9%H$N%5%]!<%H(B</title> - <!-- English revision: 1.4 --> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">$B%U%!%$%k5-=R;R$N8B3&(B</h1> - - <p>$B$?$/$5$s$N%P!<%A%c%k%[%9%H$r1?MQ$9$k>l9g!"$b$7!"(B - $B3F%P!<%A%c%k%[%9%H$4$H$K0[$J$k%m%0%U%!%$%k$,;XDj$7$F$"$k$H!"(B - Apache $B$,%U%!%$%k5-=R;R(B (<cite>$B%U%!%$%k%O%s%I%k(B</cite>$B$H$b8F$P$l$^$9(B) - $B$r;H$$@Z$C$F$7$^$&$3$H$,$"$j$^$9!#(BApache $B$,;HMQ$9$k%U%!%$%k(B - $B5-=R;R$N?t$O!"3F%(%i!<%m%0%U%!%$%k$K$D$-(B 1 $B$D!"B>$N%m%0%U%!%$%k$N(B - $B%G%#%l%/%F%#%V$K$D$-(B 1 $B$D!"$5$i$KFbIt$G;HMQ$9$k(B 10 $B$+$i(B 20$B!"(B - $B$N9g7W$K$J$j$^$9!#(BUnix $B%*%Z%l!<%F%#%s%0%7%9%F%`$G$O%W%m%;%9$4$H$K(B - $B;HMQ2DG=$J%U%!%$%k5-=R;R$N?t$r@)8B$7$F$$$^$9!#$?$$$F$$$N>l9g$O(B 64 $B$G!"(B - $BIaDL$OBg$-$JCM$N%O!<%I%j%_%C%H$^$GA}$d$9$3$H$,$G$-$^$9!#(B</p> - - <p>Apache $B$OI,MW$K1~$8$F>e8B$r3HBg$7$h$&$H;n$_$^$9$,!"(B - $B0J2<$N$h$&$J>l9g$K$O$&$^$/$$$+$J$$$+$b$7$l$^$;$s!#(B</p> - - <ol> - <li>$BMxMQ$7$F$$$k%7%9%F%`$G(B setrlimit() - $B%7%9%F%`%3!<%k$,Ds6!$5$l$F$$$J$$!#(B</li> - - <li>$B%7%9%F%`>e$G(B setrlimit(RLIMIT_NOFILE) $B$,F0:n$7$J$$(B - ($B$?$H$($P(B Solaris 2.3 $B$N$h$&$K(B)$B!#(B</li> - - <li>$BMW5a$5$l$k%U%!%$%k5-=R;R$N?t$,(B - $B%O!<%I%j%_%C%H$rD6$($F$7$^$&!#(B</li> - - <li>$B%7%9%F%`$K%U%!%$%k5-=R;R$K4X$7$FJL$N@)8B$,B8:_$7$F$7$^$C$F$$$k!#(B - $B$?$H$($P!"(Bstdio $B%9%H%j!<%`$G$O%U%!%$%k5-=R;R$r(B 256 $B0J>e;H$($J$$(B - (Solaris 2)$B!"$J$I!#(B</li> - </ol> - $BLdBj$,H/@8$7$?;~$K<h$jF@$kBP=hJ}K!$O<!$N$H$*$j(B: - - <ul> - <li>$B%m%0%U%!%$%k$N?t$r8:$i$9!#(BVirtualHost - $B%;%/%7%g%s$G%m%0%U%!%$%k$r;XDj$;$:!"(B - $B%a%$%s$N%m%0%U%!%$%k$K$N$_5-O?$9$k!#(B</li> - - <li> - $B$b$7!"A0=R$N(B 1 $B$^$?$O(B 2 $B$N>l9g$G$"$l$P!"(B - Apache $B$r5/F0$9$kA0$K%U%!%$%k5-=R;R$rA}$d$7$^$9!#(B - $B$?$H$($P<!$N$h$&$J%9%/%j%W%H$r;H$$$^$9!#(B - - <blockquote> - <code>#!/bin/sh <br /> - ulimit -S -n 100 <br /> - exec httpd</code> - </blockquote> - </li> - </ul> - - <p>$B%U%!%$%k5-=R;R$NLdBj$K$D$$$F$N>\:Y$d!"(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$4$H$N2r7hJ}K!$K$D$$$F$O!V(B<a - href="../misc/descriptors.html">$B%U%!%$%k5-=R;R$H(B - Apache</a>$B!W$NJ8=q$r;2>H$7$F$/$@$5$$!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/vhosts/index.html.en b/usr.sbin/httpd/htdocs/manual/vhosts/index.html.en deleted file mode 100644 index 4937fe79194..00000000000 --- a/usr.sbin/httpd/htdocs/manual/vhosts/index.html.en +++ /dev/null @@ -1,94 +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>Apache Virtual Host documentation</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache Virtual Host documentation</h1> - - <p>The term <cite>Virtual Host</cite> refers to the practice of - maintaining more than one server on one machine, as - differentiated by their apparent hostname. For example, it is - often desirable for companies sharing a web server to have - their own domains, with web servers accessible as - <samp>www.company1.com</samp> and - <samp>www.company2.com</samp>, without requiring the user to - know any extra path information.</p> - - <p>Apache was one of the first servers to support IP-based - virtual hosts right out of the box. Versions 1.1 and later of - Apache support both, IP-based and name-based virtual hosts - (vhosts). The latter variant of virtual hosts is sometimes also - called host-based or non-IP virtual hosts.</p> - - <p>Below is a list of documentation pages which explain all - details of virtual host support in Apache version 1.3 and - later.</p> - <hr /> - - <h2>Virtual Host Support</h2> - - <ul> - <li><a href="name-based.html">Name-based Virtual - Hosts</a></li> - - <li><a href="ip-based.html">IP-based Virtual Hosts</a></li> - - <li><a href="examples.html">Virtual Host examples for common - setups</a></li> - - <li><a href="details.html">In-Depth Discussion of Virtual - Host Matching</a></li> - - <li><a href="fd-limits.html">File Descriptor Limits</a></li> - - <li><a href="mass.html">Dynamically Configured Mass Virtual - Hosting</a></li> - </ul> - - <h2>Configuration directives</h2> - - <ul> - <li><a - href="../mod/core.html#virtualhost"><VirtualHost></a></li> - - <li><a - href="../mod/core.html#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="../mod/core.html#servername">ServerName</a></li> - - <li><a - href="../mod/core.html#serveralias">ServerAlias</a></li> - - <li><a href="../mod/core.html#serverpath">ServerPath</a></li> - </ul> - - <p>Folks trying to debug their virtual host configuration may - find the Apache <code>-S</code> command line switch useful. It - will dump out a description of how Apache parsed the - configuration file. Careful examination of the IP addresses and - server names may help uncover configuration mistakes. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/vhosts/index.html.ja.jis b/usr.sbin/httpd/htdocs/manual/vhosts/index.html.ja.jis deleted file mode 100644 index db1a0495703..00000000000 --- a/usr.sbin/httpd/htdocs/manual/vhosts/index.html.ja.jis +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</title> - <!-- English revision: 1.8 --> - </head> - - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</h1> - - <p><cite>$B%P!<%A%c%k%[%9%H(B</cite>$B$H$$$&MQ8l$O!"(B1 $BBf$N%^%7%s>e$G(B - $B0l$D0J>e$N%5!<%P$r!"(B - $B$=$l$>$lJL$N0c$&%[%9%HL>$G8+$;$k1?MQJ}K!$N$3$H$r;X$7$^$9!#(B - $B$?$H$($P!"0l$D$N%5!<%P$r6&M-$9$kJ#?t$N2q<R$,!"(B - $B%f!<%6$KM>7W$J%Q%9L>$rMW5a$;$:$K!"(B<samp>www.company1.com</samp> - $B$d(B <samp>www.company2.com</samp> $B$H$$$C$?$=$l$>$l$K8GM-$N(B - $B%I%a%$%sL>$G%&%'%V%5!<%P$K%"%/%;%9$G$-$k$h$&$K$7$?$$!"(B - $B$H$$$C$?$3$H$O$7$P$7$P$"$j$^$9!#(B</p> - - <p>Apache $B$O!"FC$K<j$rF~$l$J$$>uBV$G(B IP $B%Y!<%9$N%P!<%A%c%k%[%9%H(B - $B$r%5%]!<%H$7$?:G=i$N%5!<%P$N0l$D$G$9!#%P!<%8%g%s(B 1.1 $B0J9_$N(B Apache - $B$G$O!"(BIP $B%Y!<%9$H%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H$NN>J}$r%5%]!<%H(B - $B$7$F$$$^$9!#%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H$O!"%[%9%H%Y!<%9$"$k$$$OHs(B - IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$H8F$P$l$k$3$H$b$"$j$^$9!#(B</p> - - <p>$B0J2<$N%Z!<%8$G$O!"(BApache $B%P!<%8%g%s(B 1.3 - $B0J9_$G$N%P!<%A%c%k%[%9%H$N%5%]!<%H$K$D$$$F$N>\:Y$r@bL@$7$^$9!#(B</p> - - <hr /> - - <h2>$B%P!<%A%c%k%[%9%H$N%5%]!<%H(B</h2> - - <ul> - <li><a - href="name-based.html">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a></li> - - <li><a href="ip-based.html">IP $B%Y!<%9$N%P!<%A%c%k%[%9%H(B</a></li> - - <li><a - href="examples.html">$B%P!<%A%c%k%[%9%H$N0lHLE*$J@_DjNc(B</a></li> - - <li><a - href="details.html">$B%P!<%A%c%k%[%9%H$N%^%C%A%s%0$K$D$$$F$N>\:Y(B</a></li> - - <li><a href="fd-limits.html">$B%U%!%$%k5-=R;R$N8B3&(B</a></li> - - <li><a - href="mass.html">$BBgNL$N%P!<%A%c%k%[%9%H$NF0E*$J@_Dj(B</a></li> - </ul> - - <h2>$B@_Dj%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a - href="../mod/core.html#virtualhost"><VirtualHost></a></li> - - <li><a - href="../mod/core.html#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="../mod/core.html#servername">ServerName</a></li> - - <li><a href="../mod/core.html#serveralias">ServerAlias</a></li> - - <li><a href="../mod/core.html#serverpath">ServerPath</a></li> - </ul> - - - <p>$B%P!<%A%c%k%[%9%H$N@_Dj$N%G%P%C%0$r$9$k$K$O(B - Apache $B$N%3%^%s%I%i%$%s%9%$%C%A(B <code>-S</code> $B$,JXMx$G$9!#(B - Apache $B$,@_Dj%U%!%$%k$r$I$&2r@O$7$?$+$K$D$$$F=PNO$7$^$9!#(B - IP $B%"%I%l%9$H%5!<%PL>$rCm0U?<$/D4$Y$l$P!"(B - $B@_Dj$N4V0c$$$r8+$D$1$k=u$1$K$J$k$G$7$g$&!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/vhosts/name-based.html.en b/usr.sbin/httpd/htdocs/manual/vhosts/name-based.html.en deleted file mode 100644 index 38d36ef4419..00000000000 --- a/usr.sbin/httpd/htdocs/manual/vhosts/name-based.html.en +++ /dev/null @@ -1,250 +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> - <title>Name-based Virtual Hosts</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Name-based Virtual Host Support</h1> - -<p>This document describes when and how to use name-based virtual hosts.</p> - -<ul> -<li><a href="#namevip">Name-based vs. IP-based Virtual Hosts</a></li> -<li><a href="#using">Using Name-based Virtual Hosts</a></li> -<li><a href="#compat">Compatibility With Older Browsers</a></li> -</ul> - -<p>See also: <a href="examples.html">Virtual Host examples for common -setups</a>, <a href="ip-based.html">IP-based Virtual Host Support</a>, -<a href="details.html">An In-Depth Discussion of Virtual Host -Matching</a>, and <a href="mass.html">Dynamically configured mass -virtual hosting</a>.</p> - -<hr /> - -<h2><a name="namevip">Name-based vs. IP-based Virtual Hosts</a></h2> - -<p>IP-based virtual hosts use the IP address of the connection to -determine the correct virtual host to serve. Therefore you need to -have a separate IP address for each host. With name-based virtual -hosting, the server relies on the client to report the hostname as -part of the HTTP headers. Using this technique, many different hosts -can share the same IP address.</p> - -<p>Name-based virtual hosting is usually simpler, since you need -only configure your DNS server to map each hostname to the correct -IP address and then configure the Apache HTTP Server to recognize -the different hostnames. Name-based virtual hosting also eases -the demand for scarce IP addresses. Therefore you should use -name-based virtual hosting unless there is a specific reason to -choose IP-based virtual hosting. Some reasons why you might consider -using IP-based virtual hosting:</p> - -<ul> - -<li>Some ancient clients are not compatible with name-based virtual -hosting. For name-based virtual hosting to work, the client must send -the HTTP Host header. This is required by HTTP/1.1, and is -implemented by all modern HTTP/1.0 browsers as an extension. If you -need to support obsolete clients and still use name-based virtual -hosting, a possible technique is discussed at the end of this -document.</li> - -<li>Name-based virtual hosting cannot be used with SSL secure servers -because of the nature of the SSL protocol.</li> - -<li>Some operating systems and network equipment implement bandwidth -management techniques that cannot differentiate between hosts unless -they are on separate IP addresses.</li> - -</ul> - -<h2><a name="using">Using Name-based Virtual Hosts</a></h2> - -<table border="1"> -<tr><td align="top"> -<strong>Related Directives</strong><br><br> - -<a href="../mod/core.html#documentroot">DocumentRoot</a><br /> -<a href="../mod/core.html#namevirtualhost">NameVirtualHost</a><br /> -<a href="../mod/core.html#serveralias">ServerAlias</a><br /> -<a href="../mod/core.html#servername">ServerName</a><br /> -<a href="../mod/core.html#serverpath">ServerPath</a><br /> -<a href="../mod/core.html#virtualhost">VirtualHost</a><br /> -</td></tr></table> - -<p>To use name-based virtual hosting, you must designate the IP -address (and possibly port) on the server that will be accepting -requests for the hosts. This is configured using the <a -href="../mod/core.html#namevirtualhost">NameVirtualHost</a> directive. -In the normal case where any and all IP addresses on the server should -be used, you can use <code>*</code> as the argument to -<code>NameVirtualHost</code>. (<code>NameVirtualHost *</code> will -work only in version 1.3.13 and later.) Note that mentioning an IP -address in a <code>NameVirtualHost</code> directive does not -automatically make the server listen to that IP address. See <a -href="../bind.html">Setting which addresses and ports Apache uses</a> -for more details. In addition, any IP address specified here must be -associated with a network interface on the server.</p> - -<p>The next step is to create a <a -href="../mod/core.html#virtualhost"><VirtualHost></a> block for -each different host that you would like to serve. The argument to the -<code><VirtualHost></code> directive should be the same as the -argument to the <code>NameVirtualHost</code> directive (ie, an IP -address, or <code>*</code> for all addresses). Inside each -<code><VirtualHost></code> block, you will need at minimum a <a -href="../mod/core.html#servername">ServerName</a> directive to -designate which host is served and a <a -href="../mod/core.html#documentroot">DocumentRoot</a> directive to -show where in the filesystem the content for that host lives.</p> - -<p>If you are adding virtual hosts to an existing web server, you -must also create a <VirtualHost> block for the existing host. -The <code>ServerName</code> and <code>DocumentRoot</code> included in -this virtual host should be the same as the global -<code>ServerName</code> and <code>DocumentRoot</code>. List this -virtual host first in the configuration file so that it will act as -the default host.</p> - -<p>For example, suppose that you are serving the domain -<samp>www.domain.tld</samp> and you wish to add the virtual host -<samp>www.otherdomain.tld</samp>, which points at the same IP address. -Then you simply add the following to <code>httpd.conf</code>:</p> -<pre> - NameVirtualHost * - - <VirtualHost *> - ServerName www.domain.tld - DocumentRoot /www/domain - </VirtualHost> - - <VirtualHost *> - ServerName www.otherdomain.tld - DocumentRoot /www/otherdomain - </VirtualHost> -</pre> - -<p>You can alternatively specify an explicit IP address in place of -the * in both the <code>NameVirtualHost</code> and -<code><VirtualHost></code> directives. The IP address is -required in version 1.3.12 and earlier.</p> - -<p>Many servers want to be accessible by more than one name. This is -possible with the <a -href="../mod/core.html#serveralias"><code>ServerAlias</code></a> -directive, placed inside the <VirtualHost> section. For -example if you add this to the first <VirtualHost> block -above</p> - -<blockquote><code> -ServerAlias domain.tld *.domain.tld -</code></blockquote> - -<p>then requests for all hosts in the <code>domain.tld</code> domain -will be served by the <code>www.domain.tld</code> virtual host. The -wildcard characters * and ? can be used to match names. Of course, -you can't just make up names and place them in <code>ServerName</code> -or <code>ServerAlias</code>. You must first have your DNS server -properly configured to map those names to an IP address associated -with your server.</p> - -<p>Finally, you can fine-tune the configuration of the virtual hosts -by placing other directives inside the -<code><VirtualHost></code> containers. Most directives can be -placed in these containers and will then change the configuration only -of the relevant virtual host. To find out if a particular directive -is allowed, check the <a -href="../mod/directive-dict.html#Context">Context</a> of the -directive. Configuration directives set in the <em>main server -context</em> (outside any <code><VirtualHost></code> container) -will be used only if they are not overriden by the virtual host -settings.</p> - -<p>Now when a request arrives, the server will first check if it is -using an IP address that matches the <code>NameVirtualHost</code>. If -it is, then it will look at each <code><VirtualHost></code> -section with a matching IP address and try to find one where the -<code>ServerName</code> or <code>ServerAlias</code> matches the -requested hostname. If it finds one, then it uses the configuration -for that server. If no matching virtual host is found, then -<strong>the first listed virtual host</strong> that matches the IP -address will be used.</p> - -<p>As a consequence, the first listed virtual host is the -<em>default</em> virtual host. The <code>DocumentRoot</code> from the -<em>main server</em> will <strong>never</strong> be used when an IP -address matches the <code>NameVirtualHost</code> directive. If you -would like to have a special configuration for requests that do not -match any particular virtual host, simply put that configuration in a -<code><VirtualHost></code> container and list it first in the -configuration file.</p> - -<h2><a name="compat">Compatibility with Older Browsers</a></h2> - - <p>As mentioned earlier, there are some clients - who do not send the required data for the name-based virtual - hosts to work properly. These clients will always be sent the - pages from the first virtual host listed for that IP address - (the <cite>primary</cite> name-based virtual host).</p> - - <p>There is a possible workaround with the <a - href="../mod/core.html#serverpath"><code>ServerPath</code></a> - directive, albeit a slightly cumbersome one:</p> - - <p>Example configuration:</p> -<pre> - NameVirtualHost 111.22.33.44 - - <VirtualHost 111.22.33.44> - ServerName www.domain.tld - ServerPath /domain - DocumentRoot /web/domain - </VirtualHost> -</pre> - - <p>What does this mean? It means that a request for any URI - beginning with "<samp>/domain</samp>" will be served from the - virtual host <samp>www.domain.tld</samp> This means that the - pages can be accessed as - <code>http://www.domain.tld/domain/</code> for all clients, - although clients sending a <samp>Host:</samp> header can also - access it as <code>http://www.domain.tld/</code>.</p> - - <p>In order to make this work, put a link on your primary - virtual host's page to - <samp>http://www.domain.tld/domain/</samp> Then, in the virtual - host's pages, be sure to use either purely relative links - (<em>e.g.</em>, "<samp>file.html</samp>" or - "<samp>../icons/image.gif</samp>" or links containing the - prefacing <samp>/domain/</samp> (<em>e.g.</em>, - "<samp>http://www.domain.tld/domain/misc/file.html</samp>" or - "<samp>/domain/misc/file.html</samp>").</p> - - <p>This requires a bit of discipline, but adherence to these - guidelines will, for the most part, ensure that your pages will - work with all browsers, new and old.</p> - - <p>See also: <a href="examples.html#serverpath">ServerPath - configuration example</a></p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/vhosts/name-based.html.ja.jis b/usr.sbin/httpd/htdocs/manual/vhosts/name-based.html.ja.jis deleted file mode 100644 index d9a8bfa5179..00000000000 --- a/usr.sbin/httpd/htdocs/manual/vhosts/name-based.html.ja.jis +++ /dev/null @@ -1,251 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!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" xml:lang="ja" lang="ja"> - <head> - <title>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <!-- English revision: 1.21 --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <p>$B$3$NJ8=q$G$OL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r$I$s$J$H$-!"(B - $B$^$?$I$&$d$C$F;H$&$N$+$H$$$&$3$H$r@bL@$7$^$9!#(B</p> - - <ul> - <li><a href="#namevip">$BL>A0%Y!<%9(B $B$H(B IP-based - $B$N%P!<%A%c%k%[%9%H$NHf3S(B</a></li> - - <li><a href="#using">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$rMxMQ$9$k(B</a></li> - - <li><a href="#compat">$B8E$$%V%i%&%6$H$N8_49@-(B</a></li> - </ul> - - <p>$B;29M(B: <a href="examples.html">$BI8=`E*$J%;%C%H%"%C%W$G$N(B - $B%P!<%A%c%k%[%9%H$NNc(B</a>$B!"(B <a href="ip-based.html">IP $B%Y!<%9$N(B - $B%P!<%A%c%k%[%9%H$N%5%]!<%H(B</a>$B!"(B <a href="details.html"> - $B%P!<%A%c%k%[%9%H$N%^%C%A%s%0$N6qBNE*$J>\:Y(B</a> $B$H(B <a - href="mass.html">$BBgNL$N%P!<%A%c%k%[%9%H$rF0E*$K@_Dj$9$k(B</a> - </p> - <hr /> - - <h2><a id="namevip" name="namevip" - >$BL>A0%Y!<%9$H(B IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$NHf3S(B</a></h2> - - <p>$B=i4|$N%P!<%8%g%s$N(B HTTP $B$G$O(B ($BB>$NB?$/$N%W%m%H%3%k!"Nc$($P(B FTP - $B$HF1MM(B) $B0l$D$N%5!<%P>e$G$N%P!<%A%c%k%[%9%H$4$H$K0[$J$C$?(B IP - $B%"%I%l%9$,I,MW$G$7$?!#$$$/$D$+$N%W%i%C%H%U%)!<%`$G$O!"$3$N$3$H$,(B - $B<B9T2DG=$J%P!<%A%c%k%[%9%H$N?t$r8BDj$7$F$7$^$&$3$H$K$J$j$^$7$?!#$^$?!"(B - IP $B%"%I%l%9$N?t$K$O8B$j$,$"$k$H$$$&$3$H$K$D$$$F$N7|G0$+$i!"%l%8%9%H%i(B - (ARIN, RIPE, APNIC) $B$O%P!<%A%c%k%[%9%H$4$H$K(B - IP $B$r3d$jEv$F$k$h$&$J$3$H$OHr$1$k$h$&6/$/MW@A$7$F$$$^$9!#(B</p> - - <p>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$ODL>oC1=c$G!"(B - $B$=$l$>$l$N%[%9%HL>$H$=$l$KBP1~$9$k@53N$J(B IP $B%"%I%l%9$r(B DNS - $B$G@_Dj$7!"0[$J$k%[%9%HL>$r6hJL=PMh$k$h$&$K(B Apache HTTP - $B%5!<%P$r@_Dj$9$k$@$1$G$9!#$5$i$K!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$OITB-$9$k(B - IP $B%"%I%l%9$N<{MW$r4KOB$7$^$9!#$7$?$,$C$F!"(BIP - $B%Y!<%9$N%P!<%A%c%k%[%9%H$rA*Br$9$Y$-FCDj$NM}M3$,$J$1$l$PL>A0%Y!<%9$N(B - $B%P!<%A%c%k%[%9%H$r;H$&$Y$-$G$9!#(B - IP $B%Y!<%9$N%P!<%A%c%k%[%9%H$r;HMQ$9$k$3$H$r9MN8$9$kM}M3$H$7$F!"(B</p> - - <ul> - <li>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$KBP1~$7$F$$$J$$8E$$%/%i%$%"%s%H$,$"$k(B - $BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$,F/$/$?$a$K$O!"%/%i%$%"%s%H$O(B - HTTP $B%[%9%H%X%C%@$rAw$C$F$3$J$1$l$P$J$j$^$;$s!#(B - $B$3$l$O(B HTTP/1.1 $B$N;EMM$GMW5a$5$l$F$$$F!"$9$Y$F$N8=BeE*$J(B - HTTP/1.0 $B%V%i%&%6$G$b3HD%$H$7$F<BAu$5$l$F$$$^$9!#(B - $B$H$F$b8E$$%/%i%$%"%s%H$r%5%]!<%H$7$D$D!"L>A0%Y!<%9$N(B - $B%P!<%A%c%k%[%9%H$r9T$$$?$$>l9g$O!"$3$NJ8=q$N:G8e$NJ}$K(B - $B=q$+$l$F$$$k2r7h:v$K$J$k$+$b$7$l$J$$J}K!$r8+$F$/$@$5$$!#(B</li> - - <li>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$O(B SSL $B%W%m%H%3%k$NFCD'$K$h$j!"(B - SSL $B%;%-%e%"%5!<%P$K$O;H$($^$;$s!#(B</li> - - <li>$B%*%Z%l!<%F%#%s%0%7%9%F%`$d%M%C%H%o!<%/AuCV$N$J$+$K$O!"JL$N(B IP - $B%"%I%l%9>e$G$J$$>l9g!"J#?t$N%[%9%H$rJL07$$$G$-$J$$$h$&$J(B - $BBS0h4IM}$NJ}K!$r<BAu$7$F$$$k$b$N$,$"$j$^$9!#(B</li> - </ul> - - <h2><a id="using" - name="using">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$rMxMQ$9$k(B</a></h2> - - <table border="1"> - <tr> - <td align="top"><strong>$B4XO"%G%#%l%/%F%#%V(B</strong><br /> - <br /> - <a href="../mod/core.html#documentroot">DocumentRoot</a><br /> - <a - href="../mod/core.html#namevirtualhost">NameVirtualHost</a><br /> - <a href="../mod/core.html#serveralias">ServerAlias</a><br /> - <a href="../mod/core.html#servername">ServerName</a><br /> - <a href="../mod/core.html#serverpath">ServerPath</a><br /> - <a href="../mod/core.html#virtualhost">VirtualHost</a><br /> - </td> - </tr> - </table> - - <p>$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r;H$&$K$O!"$=$N%[%9%H$X$N(B - $B%j%/%(%9%H$r<u$1IU$1$k%5!<%P$N(B IP $B%"%I%l%9(B ($B$b$7$+$7$?$i%]!<%H$b(B) - $B$r;XDj$9$kI,MW$,$"$j$^$9!#(B - $B$3$l$O(B <a href="../mod/core.html#namevirtualhost">NameVirtualHost</a> - $B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#DL>o!"(B<code>NameVirtualHost</code> $B$G(B - <code>*</code> $B$NB0@-$r;H$C$F%5!<%P$N$9$Y$F$N(B IP $B%"%I%l%9$r;H$$$^$9!#(B - (<code>NameVirtualHost *</code> $B$O%P!<%8%g%s(B 1.3.13 $B0J9_$N$_$GF0:n$7$^$9!#(B) - <code>NameVirtualHost</code> $B%G%#%l%/%F%#%V$G(B IP $B%"%I%l%9$r=q$$$F$b!"(B - $B<+F0E*$K%5!<%P$,$=$N(B IP $B%"%I%l%9$r%j%C%9%s$9$k$H$$$&$3$H$O$J$$$3$H$K(B - $BCm0U$7$F$/$@$5$$!#>\:Y$O(B <a href="../bind.html">Apache $B$N;H$&%"%I%l%9$H(B - $B%]!<%H$r@_Dj$9$k(B</a> $B$rFI$s$G$/$@$5$$!#$5$i$K!"$3$3$G;XDj$5$l$?(B - IP $B%"%I%l%9$O$9$Y$F%5!<%P$N%M%C%H%o!<%/%$%s%?!<%U%'!<%9$H4XO"IU$1$i$l$F(B - $B$$$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B<!$O!"07$$$?$$$=$l$>$l$N%[%9%H$KBP$7$F(B <a - href="../mod/core.html#virtualhost"><VirtualHost></a> - $B%V%m%C%/$r:n@.$7$F$/$@$5$$!#(B<code><VirtualHost></code> - $B%G%#%l%/%F%#%V$N0z?t$O(B <code>NameVirtualHost</code> - $B%G%#%l%/%F%#%V$N0z?t$HF1$8$K$7$F$/$@$5$$(B ($B$9$J$o$A!"(BIP - $B%"%I%l%90l$D$d$9$Y$F$N%"%I%l%9$rI=$9(B <code>*</code>)$B!#$=$l$>$l$N(B - <code><VirtualHost></code> $B%G%#%l%/%F%#%V$NCf$K$O!":GDc8B!"(B - $B$I$N%[%9%H$,07$o$l$k$+$r<($9(B <a - href="../mod/core.html#servername">ServerName</a> $B%G%#%l%/%F%#%V$H!"(B - $B$=$N%[%9%HMQ$N%3%s%F%s%D$,%U%!%$%k%7%9%F%`>e$N$I$3$K$"$k$+$r<($9(B - <a href="../mod/core.html#documentroot">DocumentRoot</a> - $B%G%#%l%/%F%#%V$r=q$/I,MW$,$"$j$^$9!#(B</p> - - <p>$B4{$KB8:_$9$k%&%'%V%5!<%P$K%P!<%A%c%k%[%9%H$rDI2C$9$k>l9g!"(B - $BB8:_$9$k%[%9%HMQ$N(B <VirtualHost> $B%V%m%C%/$r:n$i$J$1$l$P$J$j$^$;$s!#(B - <code>ServerName</code> $B$H(B <code>DocumentRoot</code> - $B$O$3$N%P!<%A%c%k%[%9%H$b4^$a$F!"$=$l$>$l%0%m!<%P%k$J(B - <code>ServerName</code> $B5Z$S(B <code>DocumentRoot</code> - $B$HF1$8$b$N$K$9$k$Y$-$G$9!#@_Dj%U%!%$%kCf$G:G=i$K5-=R$7$?(B - $B$3$N%P!<%A%c%k%[%9%H$O(B - $B%G%U%)%k%H$N%P!<%A%c%k%[%9%H$H$7$F$b?6$kIq$$$^$9!#(B - </p> - <p>$BNc$($P!"%I%a%$%s(B <samp>www.domain.tld</samp> $B$r1?MQ$7$F$$$k$H$3$m$K(B - $B%P!<%A%c%k%[%9%H(B <samp>www.otherdomain.tld</samp> $B$rDI2C$9$k>l9g$G!"(B - $BN>J}$,F1$8(B IP $B%"%I%l%9$r;X$7$F$$$k$H$7$^$9!#$=$N$h$&$J>l9g$O!"(B - <code>httpd.conf</code> $B$K0J2<$N$h$&$J%3!<%I$rDI2C$9$k$@$1$G$9(B</p> -<pre> - NameVirtualHost * - - <VirtualHost *> - ServerName www.domain.tld - DocumentRoot /www/domain - </VirtualHost> - - <VirtualHost *> - ServerName www.otherdomain.tld - DocumentRoot /www/otherdomain - </VirtualHost> -</pre> - - <p><code>NameVirtualHost</code> $B5Z$S(B - <code><VirtualHost></code> $B$N$I$A$i$N>l9g$b!"(B - * $B$NItJ,$K$OL@<(E*$K(B IP $B%"%I%l%9$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B%P!<%8%g%s(B 1.3.12 $B0JA0$G$O(B IP $B%"%I%l%9$N;XDj$,I,MW$G$7$?!#(B</p> - - <p>$BJ#?t$NL>A0$G%5!<%P%"%/%;%9$,$G$-$k$h$&$K$7$?$$$3$H$bB?$$$G$7$g$&!#(B - $B$3$N$h$&$J$3$H$O!"(B<a href="../mod/core.html#serveralias" - ><code>ServerAlias</code></a> $B%G%#%l%/%F%#%V$r(B <VirtualHost> - $B%;%/%7%g%s$K5-=R$9$k$3$H$G<B8=$G$-$^$9!#(B - $BNc$($P$3$l$r:G=i$N(B <VirtualHost> $B%V%m%C%/$K=q$-2C$($k$H!"(B</p> -<pre> - ServerAlias domain.tld *.domain.tld -</pre> - - <p><code>domain.tld</code> $B%I%a%$%s$X$N$9$Y$F$N%[%9%H$X$N%j%/%(%9%H$O(B - <code>www.domain.tld</code> $B$N%P!<%A%c%k%[%9%H$,=hM}$7$^$9!#(B - * $B$d(B ? $B$r%o%$%k%I%+!<%IJ8;z$H$7$F;HMQ$G$-$^$9$,!"EvA3$J$,$i$=$l$@$1$G(B - <code>ServerName</code> $B$d(B <code>ServerAlias</code> - $B$NL>A0$d>l=j$r9=@.$9$k$3$H$O$G$-$^$;$s!#$^$::G=i$K(B DNS $B$N%[%9%HL>$H(B - IP $B%"%I%l%9$r%5!<%P$K$"$o$;$FE,@Z$K@_Dj$9$k;v$,I,MW$G$9(B</p> - - <p>$B:G8e$K!"(B<code><VirtualHost></code> $B%3%s%F%J$NCf$K(B - $BB>$N%G%#%l%/%F%#%V$r=q$/$3$H$G!"%P!<%A%c%k%[%9%H$N@_Dj$r:Y$+$/JQ99(B - $B$9$k$3$H$,$G$-$^$9!#$I$N%G%#%l%/%F%#%V$r=q$/$3$H$,$G$-$k$+$O!"(B - $B%G%#%l%/%F%#%V$N(B <a - href="../mod/directive-dict.html#context">$B%3%s%F%-%9%H(B</a> $B$r(B - $BD4$Y$F$/$@$5$$!#(B<em>$B<g%5!<%P%3%s%F%-%9%H(B</em> - (<code><VirtualHost></code> $B%3%s%F%J$N30(B) $B$N(B - $B@_DjMQ%G%#%l%/%F%#%V$O%P!<%A%c%k%[%9%H$G$N@_Dj$G>e=q$-$5$l$F$$$J$$(B - $B$H$-$N$_;HMQ$5$l$^$9!#(B</p> - - <p>$B%j%/%(%9%H$,Mh$k$H!"%5!<%P$O$^$::G=i$K(B <code>NameVirtualHost</code> - $B$K%^%C%A$9$k(B IP $B%"%I%l%9$+$I$&$+$r%A%'%C%/$7$^$9!#%^%C%A$9$l$P(B - $B%^%C%A$7$?(B IP $B%"%I%l%9$N(B <code><VirtualHost></code> - $B$N$=$l$>$l$N%;%/%7%g%s$NCf$+$i(B <code>ServerName</code> $B$+(B - <code>ServerAlias</code> $B$KMW5a$5$l$?%[%9%HL>$,$"$k$+C5$7$^$9!#(B - $B8+$D$+$l$P$=$N%5!<%PMQ$N@_Dj$r;H$$$^$9!#%^%C%A$9$k%P!<%A%c%k%[%9%H(B - $B$,8+$D$+$i$J$1$l$P!"%^%C%A$7$?(B IP $B%"%I%l%9$N(B - <strong>$B%j%9%H$N:G=i$K$"$k%P!<%A%c%k%[%9%H(B</strong> $B$,;H$o$l$^$9!#(B</p> - - <p>$B7k2L$H$7$F!"%j%9%H$N:G=i$N%P!<%A%c%k%[%9%H$,(B <em>$B%G%U%)%k%H(B</em> $B$N(B - $B%P!<%A%c%k%[%9%H$K$J$j$^$9!#(BIP $B%"%I%l%9$,(B <code>NameVirtualHost</code> - $B%G%#%l%/%F%#%V$K%^%C%A$7$?>l9g$O!"(B<em>$B%a%$%s$N%5!<%P(B</em> $B$N(B - <code>DocumentRoot</code> $B;H$o$l(B <strong>$B$^$;$s(B</strong> - $B$I$N%P!<%A%c%k%[%9%H$K$b%^%C%A$7$J$$%j%/%(%9%H$KBP$7$F!"(B - $BFCJL$J@_Dj$r$7$?$$$N$G$"$l$P!"@_Dj%U%!%$%kCf$N:G=i$N(B - <code><VirtualHost></code> $B$K$=$l$r5-=R$7$F$/$@$5$$!#(B</p> - - <h2><a id="compat" name="compat">$B8E$$%V%i%&%6$H$N8_49@-(B</a></h2> - - <p>$B>e$G=q$$$?$h$&$K!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$,@5$7$/F0:n$9$k(B - $B$?$a$KI,MW$J>pJs$rAw$C$F$3$J$$%/%i%$%"%s%H$,0MA3$H$7$FB8:_$7$F$$$^$9!#(B - $B$=$N$h$&$J%/%i%$%"%s%H$KBP$7$F$O!"3:Ev$9$k(B IP $B%"%I%l%9$K$D$$$F!"(B - $B0lHV:G=i$K@_Dj$5$l$F$$$k%P!<%A%c%k%[%9%H(B - (<cite>$B%W%i%$%^%j(B</cite>$B$NL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B) - $B$+$i%Z!<%8$,Aw$jJV$5$l$^$9!#(B</p> - - <p><a href="../mod/core.html#serverpath"><code>ServerPath</code></a> - $B%G%#%l%/%F%#%V$GBP=h$,2DG=$G$9!#$A$g$C$HIT3J9%$G$9$1$l$I$b!#(B</p> - - <p>$B@_DjNc(B</p> -<pre> - NameVirtualHost 111.22.33.44 - - <VirtualHost 111.22.33.44> - ServerName www.domain.tld - ServerPath /domain - DocumentRoot /web/domain - </VirtualHost> -</pre> - - <p>$B$3$NNc$K$O$I$&$$$&0UL#$,$"$k$G$7$g$&$+(B? $B$3$l$O(B - "<samp>/domain</samp>" $B$G;O$^$k(B URI $B$X$N%j%/%(%9%H$O$9$Y$F!"(B - $B%P!<%A%c%k%[%9%H(B <samp>www.domain.tld</samp> $B$G=hM}$5$l$k!"(B - $B$H$$$&0UL#$G$9!#$D$^$j!"$9$Y$F$N%/%i%$%"%s%H$G(B - <code>http://www.domain.tld/domain/</code> $B$G%"%/%;%9$G$-$k%Z!<%8$,!"(B - <samp>Host:</samp> $B%X%C%@$rAw$C$F$/$k%/%i%$%"%s%H$G$"$l$P(B - <code>http://www.domain.tld/</code> $B$H$7$F$b%"%/%;%9$G$-$k!"(B - $B$H$$$&0UL#$G$9!#(B</p> - - <p>$B$3$l$r<BMQE*$J$b$N$H$9$k$?$a$K$O!"(B - $B%W%i%$%^%j$N%P!<%A%c%k%[%9%H$N%Z!<%8$K(B - <samp>http://www.domain.tld/domain/</samp> $B$X$N%j%s%/$r@_CV$7$^$9!#(B - $B$=$7$F!"%P!<%A%c%k%[%9%H$N%Z!<%8$G$O!"=c?h$JAjBP%j%s%/(B (<em>$BNc(B:</em> - "<samp>file.html</samp>" $B$d(B "<samp>../icons/image.gif</samp>")$B!"(B - $B$"$k$$$O(B <samp>/domain/</samp> $B$G;O$^$k%j%s%/(B (<em>$BNc(B:</em> - "<samp>http://www.domain.tld/domain/misc/file.html</samp>" $B$d(B - "<samp>/domain/misc/file.html</samp>") $B$@$1$r@_CV$7$^$9!#(B</p> - - <p>$B$3$l$K$O!"4vJ,$+$N5,N'$,I,MW$H$J$j$^$9$,!"(B - $B$3$N$h$&$J%,%$%I%i%$%s$rCi<B$K<i$k$3$H$K$h$j!"$?$$$F$$$N>l9g!"(B - $B$9$Y$F$N%V%i%&%6$G(B $B!=(B $B?7$7$$%V%i%&%6$G$b8E$$$b$N$G$b(B $B!=(B - $B:n@.$7$?%Z!<%8$,8+$($k$H$$$&$3$H$rJ]>Z$7$^$9!#(B</p> - - <p>$B;29M(B: <a href="examples.html#serverpath">ServerPath $B@_DjNc(B</a></p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> |