Permalink
Browse files

Apache 1.3.9 baseline for the Apache 2.0 repository.

Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83750 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 3afccb5 commit 5430f8800f5fffd57e7421dee0ac9de8ca4f9573 @royfielding royfielding committed Aug 24, 1999
Showing with 38,277 additions and 0 deletions.
  1. +210 −0 docs/man/ab.8
  2. +133 −0 docs/man/apachectl.8
  3. +459 −0 docs/man/apxs.8
  4. +171 −0 docs/man/dbmmanage.1
  5. +97 −0 docs/man/htdigest.1
  6. +213 −0 docs/man/htpasswd.1
  7. +211 −0 docs/man/httpd.8
  8. +87 −0 docs/man/logresolve.8
  9. +83 −0 docs/man/rotatelogs.8
  10. +70 −0 docs/man/suexec.8
  11. +54 −0 modules/aaa/.indent.pro
  12. +113 −0 modules/aaa/mod_auth_anon.dsp
  13. +569 −0 modules/arch/win32/mod_isapi.c
  14. +54 −0 modules/cache/.indent.pro
  15. +54 −0 modules/echo/.indent.pro
  16. +54 −0 modules/experimental/.indent.pro
  17. +54 −0 modules/filters/.indent.pro
  18. +54 −0 modules/generators/.indent.pro
  19. +112 −0 modules/generators/mod_info.dsp
  20. +113 −0 modules/generators/mod_status.dsp
  21. +54 −0 modules/http/.indent.pro
  22. +3,214 −0 modules/http/http_core.c
  23. +2,763 −0 modules/http/http_protocol.c
  24. +1,374 −0 modules/http/http_request.c
  25. +54 −0 modules/loggers/.indent.pro
  26. +54 −0 modules/mappers/.indent.pro
  27. +117 −0 modules/mappers/mod_rewrite.dsp
  28. +113 −0 modules/mappers/mod_speling.dsp
  29. +54 −0 modules/metadata/.indent.pro
  30. +113 −0 modules/metadata/mod_cern_meta.dsp
  31. +113 −0 modules/metadata/mod_expires.dsp
  32. +113 −0 modules/metadata/mod_headers.dsp
  33. +113 −0 modules/metadata/mod_usertrack.dsp
  34. +54 −0 modules/ssl/.indent.pro
  35. +54 −0 os/.indent.pro
  36. +1 −0 os/bs2000/.cvsignore
  37. +297 −0 os/bs2000/bs2login.c
  38. +252 −0 os/bs2000/ebcdic.c
  39. +8 −0 os/bs2000/ebcdic.h
  40. +31 −0 os/bs2000/os-inline.c
  41. +103 −0 os/bs2000/os.c
  42. +51 −0 os/bs2000/os.h
  43. +1 −0 os/os2/.cvsignore
  44. +34 −0 os/os2/os-inline.c
  45. +52 −0 os/os2/os.h
  46. +96 −0 os/os2/util_os2.c
  47. +7 −0 os/tpf/TPFExport
  48. +221 −0 os/tpf/ebcdic.c
  49. +8 −0 os/tpf/ebcdic.h
  50. +31 −0 os/tpf/os-inline.c
  51. +414 −0 os/tpf/os.c
  52. +108 −0 os/tpf/os.h
  53. +121 −0 os/tpf/samples/linkdll.jcl
  54. +58 −0 os/tpf/samples/loadset.jcl
  55. +1 −0 os/unix/.cvsignore
  56. +31 −0 os/unix/os-inline.c
  57. +147 −0 os/unix/os.h
  58. +27 −0 os/win32/.cvsignore
  59. +59 −0 os/win32/MakeModuleMak.cpp
  60. +230 −0 os/win32/Module.mak.tmpl
  61. +569 −0 os/win32/mod_isapi.c
  62. +72 −0 os/win32/modules.c
  63. +126 −0 os/win32/os.h
  64. +677 −0 os/win32/util_win32.c
  65. +13 −0 server/.cvsignore
  66. +54 −0 server/.indent.pro
  67. +1,641 −0 server/config.c
  68. +62 −0 server/gen_test_char.c
  69. +105 −0 server/gen_test_char.dsp
  70. +31 −0 server/gen_uri_delims.c
  71. +105 −0 server/gen_uri_delims.dsp
  72. +777 −0 server/log.c
  73. +6,669 −0 server/main.c
  74. +471 −0 server/mpm/winnt/registry.c
  75. +431 −0 server/mpm/winnt/service.c
  76. +248 −0 server/rfc1413.c
  77. +2,145 −0 server/util.c
  78. +321 −0 server/util_date.c
  79. +229 −0 server/util_md5.c
  80. +1,138 −0 server/util_script.c
  81. +599 −0 server/util_uri.c
  82. +917 −0 server/vhost.c
  83. +1 −0 srclib/.cvsignore
  84. +11 −0 support/.cvsignore
  85. +54 −0 support/.indent.pro
  86. +62 −0 support/README
  87. +34 −0 support/SHA1/README.sha1
  88. +36 −0 support/SHA1/convert-sha1.pl
  89. +22 −0 support/SHA1/htpasswd-sha1.pl
  90. +19 −0 support/SHA1/ldif-sha1.example
  91. +1,100 −0 support/ab.c
  92. +655 −0 support/apxs.in
  93. +189 −0 support/dbmmanage
  94. +271 −0 support/htdigest.c
  95. +577 −0 support/htpasswd.c
  96. +412 −0 support/httpd.exp
  97. +118 −0 support/log_server_status
  98. +345 −0 support/logresolve.c
  99. +264 −0 support/logresolve.pl
  100. +21 −0 support/phf_abuse_log.cgi
  101. +82 −0 support/rotatelogs.c
  102. +103 −0 support/split-logfile
  103. +566 −0 support/suexec.c
  104. +143 −0 support/suexec.h
  105. +11 −0 test/.cvsignore
  106. +54 −0 test/.indent.pro
  107. +3 −0 test/README
  108. +42 −0 test/check_chunked
  109. +166 −0 test/cls.c
  110. +50 −0 test/tcpdumpscii.txt
  111. +85 −0 test/test-writev.c
  112. +180 −0 test/test_date.c
  113. +62 −0 test/test_find.c
  114. +200 −0 test/test_limits.c
  115. +59 −0 test/test_parser.c
  116. +30 −0 test/test_select.c
  117. +572 −0 test/time-sem.c
  118. +567 −0 test/zb.c
View
@@ -0,0 +1,210 @@
+.TH ab 1 "March 1998"
+.\" $Id: ab.8,v 1.1 1999/08/24 06:45:53 fielding Exp $
+.\" Copyright (c) 1998-1999 The Apache Group. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\"
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in
+.\" the documentation and/or other materials provided with the
+.\" distribution.
+.\"
+.\" 3. All advertising materials mentioning features or use of this
+.\" software must display the following acknowledgment:
+.\" "This product includes software developed by the Apache Group
+.\" for use in the Apache HTTP server project (http://www.apache.org/)."
+.\"
+.\" 4. The names "Apache Server" and "Apache Group" must not be used to
+.\" endorse or promote products derived from this software without
+.\" prior written permission.
+.\"
+.\" 5. Products derived from this software may not be called "Apache"
+.\" nor may "Apache" appear in their names without prior written
+.\" permission of the Apache Group.
+.\"
+.\" 6. Redistributions of any form whatsoever must retain the following
+.\" acknowledgment:
+.\" "This product includes software developed by the Apache Group
+.\" for use in the Apache HTTP server project (http://www.apache.org/)."
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
+.\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
+.\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+.\" OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" ====================================================================
+.\"
+.\" This software consists of voluntary contributions made by many
+.\" individuals on behalf of the Apache Group and was originally based
+.\" on public domain software written at the National Center for
+.\" Supercomputing Applications, University of Illinois, Urbana-Champaign.
+.\" For more information on the Apache Group and the Apache HTTP server
+.\" project, please see <http://www.apache.org/>.
+.SH NAME
+ab \- Apache HTTP server benchmarking tool
+.SH SYNOPSIS
+.B ab
+[
+.B \-k
+] [
+.BI \-n " requests"
+] [
+.BI \-t " timelimit"
+] [
+.BI \-c " concurrency"
+] [
+.BI \-p " POST file"
+] [
+.BI \-A " Authenticate username:password"
+] [
+.BI \-P " Proxy Authenticate username:password"
+] [
+.BI \-H " Custom header"
+] [
+.BI \-C " Cookie name=value"
+] [
+.BI \-T " content-type"
+] [
+.BI \-v " verbosity"
+]
+] [
+.BI \-w " output HTML"
+]
+] [
+.BI \-x " <table> attributes"
+]
+] [
+.BI \-y " <tr> attributes"
+]
+] [
+.BI \-z " <td> attributes"
+]
+.I [http://]hostname[:port]/path
+
+.B ab
+[
+.B \-V
+] [
+.B \-h
+]
+.PP
+.SH DESCRIPTION
+.B ab
+is a tool for benchmarking your Apache HyperText Transfer Protocol (HTTP)
+server. It is designed to give you an impression on how performant is your
+current Apache installation. This especially shows you how much requests per
+time your Apache installation is capable to serve.
+.PP
+.SH OPTIONS
+.TP 12
+.B \-k
+Enable the HTTP KeepAlive feature, i.e. perform multiple requests within one
+HTTP session instead. Default is no KeepAlive.
+.TP 12
+.BI \-n " requests"
+Number of requests to perform for the benchmarking session. The default is to
+just perform one single request which usually leads to not very representative
+benchmarking results.
+.TP 12
+.BI \-t " timelimit"
+Seconds to max. spend for benchmarking. This implies
+a
+.B \-n
+.B 50000
+internally. Use this to benchmark the server within a fixed total amount of
+time. Per default there is no timelimit.
+.TP 12
+.BI \-c " concurrency"
+Number of multiple requests per time to perform.
+Default is one request per time.
+
+.TP 12
+.BI \-p " POST file"
+File containing data to POST.
+
+.TP 12
+.BI \-A " Authorization username:password"
+Supply BASIC Authentification credentials to the server. The username
+and password are separated by a single ':' and send on the wire uuencoded.
+The string is send regardless of wether the server needs it; (i.e. has
+send an 401. Authentifcation needed).
+
+.TP 12
+.BI \-p " Proxy-Authorization username:password"
+Supply BASIC Authentification credentials to a proxy en-route. The username
+and password are separated by a single ':' and send on the wire uuencoded.
+The string is send regardless of wether the proxy needs it; (i.e. has
+send an 407 Proxy authentifcation needed).
+
+.TP 12
+.BI \-C " Cookie name=value"
+Add a 'Cookie:' line to the request. The argument is typically in the form
+of a 'name=value' pair. This field is repeatable.
+
+.TP 12
+.BI \-p " Header string"
+Postfix extra headers to the request. The argument is typically in the form
+of a valid header line; containing a colon separated field value pair. (i.e.
+'Accept-Encoding: zip/zop;8bit').
+
+.TP 12
+.BI \-T " content-type"
+Content-type header to use for POST data.
+
+.TP 12
+.B \-v
+Set verbosity level - 4 and above prints information on headers, 3 and
+above prints response codes (404, 200, etc.), 2 and above prints
+warnings and info.
+
+.TP 12
+.BI \-w
+Print out results in HTML tables. Default table is two columns wide,
+with a white background.
+.TP 12
+.BI \-x " attributes"
+String to use as attributes for <table>. Attributes are inserted
+<table
+.B here
+>
+.TP 12
+.BI \-y " attributes"
+String to use as attributes for <tr>.
+.TP 12
+.BI \-z " attributes"
+String to use as attributes for <td>.
+.TP 12
+.B \-V
+Display version number and exit.
+.TP 12
+.B \-h
+Display usage information.
+.PD
+.SH BUGS
+There are various statically declared buffers of fixed length. Combined
+with the lazy parsing of the command line arguments, the response headers
+from the server and other external inputs this might bite you.
+.P
+It does not implement HTTP/1.x fully; only accepts some 'expected' forms
+of responses. The rather heavy use of
+.BR strstr(3)
+shows up top in profile,
+which might indicate a performance problem; i.e. you would measure the
+.BR ab
+performance rather than the server's.
+
+.SH SEE ALSO
+.BR httpd(8)
+.
View
@@ -0,0 +1,133 @@
+.TH apachectl 1 "September 1997"
+.\" Copyright (c) 1997-1999 The Apache Group. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\"
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in
+.\" the documentation and/or other materials provided with the
+.\" distribution.
+.\"
+.\" 3. All advertising materials mentioning features or use of this
+.\" software must display the following acknowledgment:
+.\" "This product includes software developed by the Apache Group
+.\" for use in the Apache HTTP server project (http://www.apache.org/)."
+.\"
+.\" 4. The names "Apache Server" and "Apache Group" must not be used to
+.\" endorse or promote products derived from this software without
+.\" prior written permission.
+.\"
+.\" 5. Products derived from this software may not be called "Apache"
+.\" nor may "Apache" appear in their names without prior written
+.\" permission of the Apache Group.
+.\"
+.\" 6. Redistributions of any form whatsoever must retain the following
+.\" acknowledgment:
+.\" "This product includes software developed by the Apache Group
+.\" for use in the Apache HTTP server project (http://www.apache.org/)."
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
+.\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
+.\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+.\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+.\" OF THE POSSIBILITY OF SUCH DAMAGE.
+.\" ====================================================================
+.\"
+.\" This software consists of voluntary contributions made by many
+.\" individuals on behalf of the Apache Group and was originally based
+.\" on public domain software written at the National Center for
+.\" Supercomputing Applications, University of Illinois, Urbana-Champaign.
+.\" For more information on the Apache Group and the Apache HTTP server
+.\" project, please see <http://www.apache.org/>.
+.SH NAME
+apachectl \- Apache HTTP server control interface
+.SH SYNOPSIS
+.B apachectl
+\fIcommand\fP [...]
+.SH DESCRIPTION
+.B apachectl
+is a front end to the Apache HyperText Transfer Protocol (HTTP)
+server. It is designed to help the administrator control the
+functioning of the Apache
+.B httpd
+daemon.
+.PP
+.B NOTE:
+If your Apache installation uses non-standard paths, you will need to
+edit the
+.B apachectl
+script to set the appropriate paths to your PID file and your
+.B httpd
+binary. See the comments in the script for details.
+.PP
+The
+.B apachectl
+script returns a 0 exit value on success, and >0 if an error
+occurs. For more details, view the comments in the script.
+.PP
+Full documentation for Apache is available at
+.B http://www.apache.org/
+.
+.SH OPTIONS
+The \fIcommand\fP can be any one or more of the following options:
+.TP 12
+.BI start
+Start the Apache daemon. Gives an error if it is already running.
+.TP
+.BI stop
+Stops the Apache daemon.
+.TP
+.BI restart
+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
+.BI configtest
+before initiating the restart to make sure Apache doesn't die.
+.TP
+.BI fullstatus
+Displays a full status report from
+.B mod_status.
+For this to work, you need to have mod_status enabled on your server
+and a text-based browser such as \fIlynx\fP available on your system. The
+URL used to access the status report can be set by editing the
+.B STATUSURL
+variable in the script.
+.TP
+.BI status
+Displays a brief status report. Similar to the fullstatus option,
+except that the list of requests currently being served is omitted.
+.TP
+.BI graceful
+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 configuration files via
+.BI configtest
+before initiating the restart to make sure Apache doesn't die.
+.TP
+.BI configtest
+Run a configuration file syntax test. It parses the configuration
+files and either reports
+.B "Syntax Ok"
+or detailed information about the particular syntax error.
+.TP
+.BI help
+Displays a short help message.
+.SH SEE ALSO
+.BR httpd(8)
+.
Oops, something went wrong.

0 comments on commit 5430f88

Please sign in to comment.