diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2002-03-29 02:15:18 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2002-03-29 02:15:18 +0000 |
commit | 37a62d7fb5590d84425ba6c7e05946b94e5bc5e3 (patch) | |
tree | 892ac0475de82fc9b22fcf97d4fa6f9f15bf929b /usr.sbin | |
parent | c55d674fee5c855c47810d0d9cce5efec76db4ac (diff) |
remove cruft.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/httpd/src/support/ab.cat8 | 264 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/apachectl.cat8 | 132 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/apxs.cat8 | 330 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/dbmmanage.cat1 | 132 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/htdigest.cat1 | 66 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/htpasswd.cat1 | 198 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/logresolve.cat8 | 66 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/rotatelogs.cat8 | 66 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/suexec.cat8 | 66 |
9 files changed, 0 insertions, 1320 deletions
diff --git a/usr.sbin/httpd/src/support/ab.cat8 b/usr.sbin/httpd/src/support/ab.cat8 deleted file mode 100644 index f12f3542aa0..00000000000 --- a/usr.sbin/httpd/src/support/ab.cat8 +++ /dev/null @@ -1,264 +0,0 @@ - - - -ab(1) ab(1) - - -NNAAMMEE - ab - Apache HTTP server benchmarking tool - -SSYYNNOOPPSSIISS - aabb [ --kk ] [ --ee ] [ --qq ] [ --SS ] [ --ii ] [ --ss ] [ --nn _r_e_q_u_e_s_t_s - ] [ --tt _t_i_m_e_l_i_m_i_t ] [ --cc _c_o_n_c_u_r_r_e_n_c_y ] [ --pp _P_O_S_T _f_i_l_e ] [ - --AA _A_u_t_h_e_n_t_i_c_a_t_e _u_s_e_r_n_a_m_e_:_p_a_s_s_w_o_r_d ] [ --XX _p_r_o_x_y _[ _:_p_o_r_t _] ] - [ --PP _P_r_o_x_y _A_u_t_h_e_n_t_i_c_a_t_e _u_s_e_r_n_a_m_e_:_p_a_s_s_w_o_r_d ] [ --HH _C_u_s_t_o_m - _h_e_a_d_e_r ] [ --CC _C_o_o_k_i_e _n_a_m_e_=_v_a_l_u_e ] [ --TT _c_o_n_t_e_n_t_-_t_y_p_e ] [ --vv - _v_e_r_b_o_s_i_t_y ] ] [ --ww _o_u_t_p_u_t _H_T_M_L ] ] [ --gg _o_u_t_p_u_t _G_N_U_P_L_O_T ] ] - [ --ee _o_u_t_p_u_t _C_S_V ] ] [ --xx _<_t_a_b_l_e_> _a_t_t_r_i_b_u_t_e_s ] ] [ --yy _<_t_r_> - _a_t_t_r_i_b_u_t_e_s ] ] [ --zz _<_t_d_> _a_t_t_r_i_b_u_t_e_s ] _[_h_t_t_p_[_s_]_:_/_/_]_h_o_s_t_- - _n_a_m_e_[_:_p_o_r_t_]_/_p_a_t_h - - aabb [ --VV ] [ --hh ] - - -DDEESSCCRRIIPPTTIIOONN - aabb is a tool for benchmarking the performance of your - Apache HyperText Transfer Protocol (HTTP) server. It does - this by giving you an indication of how many requests per - second your Apache installation can serve. - - -OOPPTTIIOONNSS - --kk Enable the HTTP KeepAlive feature; that is, - perform multiple requests within one HTTP ses- - sion. Default is no KeepAlive. - - --dd Do not display the "percentage served within - XX [ms] table". (legacy support). - - --SS Do not display the median and standard devia- - tion values, nor display the warning/error - messages when the average and median are more - than one or two times the standard deviation - apart. And default to the min/avg/max values. - (legacy support). - - --ss When compiled in (bb -h will show you) use the - SSL protected hhttttppss rather than the hhttttpp pro- - tocol. This feature is experimental and vveerryy - rudimentary. You propably do not want to use - it. - - --kk Enable the HTTP KeepAlive feature; that is, - perform multiple requests within one HTTP ses- - sion. Default is no KeepAlive. --ii Use an HTTP - 'HEAD' instead of the GET method. Cannot be - mixed with POST. - - --nn _r_e_q_u_e_s_t_s The number of requests to perform for the - benchmarking session. The default is to per- - form just one single request, which will not - - - - October 1999 1 - - - - - -ab(1) ab(1) - - - give representative benchmarking results. - - --tt _t_i_m_e_l_i_m_i_t - The number of seconds to spend benchmarking. - Using this option automatically set the number - of requests for the benchmarking session to - 50000. Use this to benchmark the server for a - fixed period of time. By default, there is no - timelimit. - - --cc _c_o_n_c_u_r_r_e_n_c_y - The number of simultaneous requests to per- - form. The default is to perform one HTTP - request at at time, that is, no concurrency. - - - --pp _P_O_S_T _f_i_l_e - A file containing data that the program will - send to the Apache server in any HTTP POST - requests. - - - --AA _A_u_t_h_o_r_i_z_a_t_i_o_n _u_s_e_r_n_a_m_e_:_p_a_s_s_w_o_r_d - Supply Basic Authentication credentials to the - server. The username and password are sepa- - rated by a single ':', and sent as uuencoded - data. The string is sent regardless of - whether the server needs it; that is, has sent - a 401 Authentication needed. - - - --XX _p_r_o_x_y_[_:_p_o_r_t_] - Route all requests through the proxy (at - optional port). - - - --PP _P_r_o_x_y_-_A_u_t_h_o_r_i_z_a_t_i_o_n _u_s_e_r_n_a_m_e_:_p_a_s_s_w_o_r_d - Supply Basic Authentication credentials to a - proxy en-route. The username and password are - separated by a single ':', and sent as uuen- - coded data. The string is sent regardless of - whether the proxy needs it; that is, has sent - a 407 Proxy authentication needed. - - - --CC _C_o_o_k_i_e _n_a_m_e_=_v_a_l_u_e - Add a 'Cookie:' line to the request. The argu- - ment is typically a 'name=value' pair. This - option may be repeated. - - - --pp _H_e_a_d_e_r _s_t_r_i_n_g - Append extra headers to the request. The argu- - ment is typically in the form of a valid - - - - October 1999 2 - - - - - -ab(1) ab(1) - - - header line, usually a colon separated field - value pair, for example, 'Accept-Encoding: - zip/zop;8bit'. - - - --TT _c_o_n_t_e_n_t_-_t_y_p_e - The content-type header to use for POST data. - - - --gg _g_n_u_p_l_o_t _f_i_l_e - Write all measured values out as a 'gnuplot' - or TSV (Tab separate values) file. This file - can easily be imported into packages like Gnu- - plot, IDL, Mathematica, Igor or even Excell. - The labels are on the first line of the file. - - - --qq When processing more than 150 requsts; aabb out- - puts a progress count on ssttddeerrrr every 10% or - 100 requests or so. The --qq flag qill suppress - these messages. - - - --ee _C_S_V _f_i_l_e Write a Comma separated value (CSV) file which - contains for each percentage (from 1% to 100%) - the time (in milli seconds) it took to serve - that percentage of the requests. This is usu- - ally more usefull than the 'gnuplot' file; as - the results are already - - - --vv Sets the verbosity level. Level 4 and above - prints information on headers, level 3 and - above prints response codes (for example, 404, - 200), and level 2 and above prints warnings - and informational messages. - - - --ww Print out results in HTML tables. The default - table is two columns wide, with a white back- - ground. - - --xx _a_t_t_r_i_b_u_t_e_s - The string to use as attributes for <table>. - Attributes are inserted <table hheerree > - - --yy _a_t_t_r_i_b_u_t_e_s - The string to use as attributes for <tr>. - - --zz _a_t_t_r_i_b_u_t_e_s - The string to use as attributes for <td>. - - --VV Display the version number and exit. - - - - - October 1999 3 - - - - - -ab(1) ab(1) - - - --hh Display usage information. - -BBUUGGSS - There are various statically declared buffers of fixed - length. Combined with inefficient parsing of the command - line arguments, the response headers from the server, and - other external inputs, these buffers might overflow. - - AAbb does not implement HTTP/1.x fully; instead, it only - accepts some 'expected' forms of responses. - - The rather heavy use of ssttrrssttrr((33)) by the program may skew - performance results, since it uses significant CPU - resources. Make sure that performance limits are not hit - by aabb before your server's limit is reached. - - The HTML output is not as complete as the text output. - - Up to version 1.3d aabb has propably reported values way to - low for most measurements; as a single timeout (which is - usually in the order of seconds) will shift several thou- - sands of milli-second responses by a considerable factor. - This was further componded by a serious interger overrun - which would for realistic run's (i.e. those longer than a - few minutes) produce believable but totally bogus results. - Thanks to Sander Temme <sctemme@covalent.net> for solving - this riddle. - - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - - - - - - - - - - - October 1999 4 - - diff --git a/usr.sbin/httpd/src/support/apachectl.cat8 b/usr.sbin/httpd/src/support/apachectl.cat8 deleted file mode 100644 index 0321de3ce65..00000000000 --- a/usr.sbin/httpd/src/support/apachectl.cat8 +++ /dev/null @@ -1,132 +0,0 @@ - - - -apachectl(1) apachectl(1) - - -NNAAMMEE - apachectl - Apache HTTP server control interface - -SSYYNNOOPPSSIISS - aappaacchheeccttll _c_o_m_m_a_n_d [...] - -DDEESSCCRRIIPPTTIIOONN - aappaacchheeccttll is a front end to the Apache HyperText Transfer - Protocol (HTTP) server. It is designed to help the admin- - istrator control the functioning of the Apache hhttttppdd dae- - mon. - - NNOOTTEE:: If your Apache installation uses non-standard paths, - you will need to edit the aappaacchheeccttll script to set the - appropriate paths to your PID file and your hhttttppdd binary. - See the comments in the script for details. - - The aappaacchheeccttll 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 - hhttttpp::////hhttttppdd..aappaacchhee..oorrgg// - -OOPPTTIIOONNSS - The _c_o_m_m_a_n_d can be any one or more of the following - options: - - ssttaarrtt Start the Apache daemon. Gives an error if it - is already running. - - ssttoopp Stops the Apache daemon. - - rreessttaarrtt 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 ccoonnffiiggtteesstt before - initiating the restart to make sure Apache - doesn't die. - - ffuullllssttaattuuss Displays a full status report from mmoodd__ssttaattuuss.. - For this to work, you need to have mod_status - enabled on your server and a text-based - browser such as _l_y_n_x available on your system. - The URL used to access the status report can - be set by editing the SSTTAATTUUSSUURRLL variable in - the script. - - ssttaattuuss Displays a brief status report. Similar to - the fullstatus option, except that the list of - requests currently being served is omitted. - - ggrraacceeffuull Gracefully restarts the Apache daemon by send- - ing it a SIGUSR1. If the daemon is not - - - - September 1997 1 - - - - - -apachectl(1) apachectl(1) - - - running, it is started. This differs from a - normal restart in that currently open connec- - tions 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 automat- - ically checks the configuration files via ccoonn-- - ffiiggtteesstt before initiating the restart to make - sure Apache doesn't die. - - ccoonnffiiggtteesstt Run a configuration file syntax test. It - parses the configuration files and either - reports SSyynnttaaxx OOkk or detailed information - about the particular syntax error. - - hheellpp Displays a short help message. - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - September 1997 2 - - diff --git a/usr.sbin/httpd/src/support/apxs.cat8 b/usr.sbin/httpd/src/support/apxs.cat8 deleted file mode 100644 index caa4f970056..00000000000 --- a/usr.sbin/httpd/src/support/apxs.cat8 +++ /dev/null @@ -1,330 +0,0 @@ - - - -apxs(8) apxs(8) - - -NNAAMMEE - apxs - APache eXtenSion tool - -SSYYNNOOPPSSIISS - aappxxss --gg [ --SS _v_a_r_i_a_b_l_e_=_v_a_l_u_e ] --nn _n_a_m_e - - aappxxss --qq [ --SS _v_a_r_i_a_b_l_e_=_v_a_l_u_e ] _q_u_e_r_y ... - - aappxxss --cc [ --SS _v_a_r_i_a_b_l_e_=_v_a_l_u_e ] [ --oo _d_s_o_f_i_l_e ] [ --II _i_n_c_d_i_r ] - [ --DD _v_a_r_i_a_b_l_e_[_=_v_a_l_u_e_] ] [ --LL _l_i_b_d_i_r ] [ --ll _l_i_b_n_a_m_e ] [ - --WWcc,,_c_o_m_p_i_l_e_r_-_f_l_a_g_s ] [ --WWll,,_l_i_n_k_e_r_-_f_l_a_g_s ] _f_i_l_e_s ... - - aappxxss --ii [ --SS _v_a_r_i_a_b_l_e_=_v_a_l_u_e ] [ --nn _n_a_m_e ] [ --aa ] [ --AA ] - _d_s_o_f_i_l_e ... - - aappxxss --ee [ --SS _v_a_r_i_a_b_l_e_=_v_a_l_u_e ] [ --nn _n_a_m_e ] [ --aa ] [ --AA ] - _d_s_o_f_i_l_e ... - - -DDEESSCCRRIIPPTTIIOONN - aappxxss is a tool for building and installing extension mod- - ules for the Apache HyperText Transfer Protocol (HTTP) - server. This is achieved by building a Dynamic Shared - Object (DSO) from one or more source or object _f_i_l_e_s which - then can be loaded into the Apache server under runtime - via the LLooaaddMMoodduullee directive from mmoodd__ssoo.. - - So to use this extension mechanism, your platform has to - support the DSO feature and your Apache hhttttppdd binary has - to be built with the mmoodd__ssoo module. The aappxxss tool auto- - matically complains if this is not the case. You can - check this yourself by manually running the command - - $ httpd -l - - The module mmoodd__ssoo should be part of the displayed list. - If these requirements are fulfilled, you can easily extend - your Apache server's functionality by installing your own - modules with the DSO mechanism by the help of this aappxxss - tool: - - $ apxs -i -a -c mod_foo.c - gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c - ld -Bshareable -o mod_foo.so mod_foo.o - cp mod_foo.so /path/to/apache/libexec/mod_foo.so - chmod 755 /path/to/apache/libexec/mod_foo.so - [activating module `foo' in /path/to/apache/etc/httpd.conf] - $ apachectl restart - /path/to/apache/sbin/apachectl restart: httpd not running, trying to start - [Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module - /path/to/apache/sbin/apachectl restart: httpd started - $ _ - - The arguments _f_i_l_e_s can be any C source file (.c), a - - - - April 1998 1 - - - - - -apxs(8) apxs(8) - - - object file (.o) or even a library archive (.a). The aappxxss - tool automatically recognizes these extensions and auto- - matically uses the C source files for compilation while it - just uses the object and archive files for the linking - phase. But when using such pre-compiled objects, make sure - they are compiled for Position Independend Code (PIC) to - be able to use them for a DSO. For instance with GCC you - always just have to use --ffppiicc. For other C compilers - please consult its manual page or watch for the flags aappxxss - uses to compile the object files. - - For more details about DSO support in Apache, first read - the background information about DSO in htdocs/man- - ual/dso.html, then read the documentation of mmoodd__ssoo. - - - -OOPPTTIIOONNSS - Common options: - - --nn _n_a_m_e This explicitly sets the module name for the - --ii (install) and --gg (template generation) - option. Use this to explicitly specify the - module name. For option --gg this is required, - for option --ii the aappxxss tool tries to determine - the name from the source or (as a fallback) at - least by guessing it from the filename. - - Query options: - - --qq Performs a query for aappxxss's knowledge about - certain settings. The _q_u_e_r_y parameters can be - one or more of the following variable names: - CC TARGET - CFLAGS SBINDIR - CFLAGS_SHLIB INCLUDEDIR - LD_SHLIB LIBEXECDIR - LDFLAGS_SHLIB SYSCONFDIR - LIBS_SHLIB PREFIX - Use this for manually determining settings. - For instance use - INC=-I`apxs -q INCLUDEDIR` - inside your own Makefiles if you need manual - access to Apache's C header files. - - Configuration options: - - --SS _v_a_r_i_a_b_l_e_=_v_a_l_u_e - This option changes the aappxxss settings - described above. - - Template Generation options: - - --gg This generates a subdirectory _n_a_m_e (see option - - - - April 1998 2 - - - - - -apxs(8) apxs(8) - - - --nn) and there two files: A sample module - source file named mmoodd___n_a_m_e_._c which can be used - as a template for creating your own modules or - as a quick start for playing with the aappxxss - mechanism. And a corresponding MMaakkeeffiillee for - even easier building and installing of this - module. - - DSO compilation options: - - --cc This indicates the compilation operation. It - first compiles the C source files (.c) of - _f_i_l_e_s into corresponding object files (.o) and - then builds a DSO in _d_s_o_f_i_l_e by linking these - object files plus the remaining object files - (.o and .a) of _f_i_l_e_s If no --oo option is speci- - fied the output file is guessed from the first - filename in _f_i_l_e_s and thus usually defaults to - mmoodd___n_a_m_e_._s_o - - --oo _d_s_o_f_i_l_e Explicitly specifies the filename of the cre- - ated DSO file. If not specified and the name - cannot be guessed from the _f_i_l_e_s list, the - fallback name mmoodd__uunnkknnoowwnn..ssoo is used. - - --DD _v_a_r_i_a_b_l_e_[_=_v_a_l_u_e_] - This option is directly passed through to the - compilation command(s). Use this to add your - own defines to the build process. - - --II _i_n_c_d_i_r This option is directly passed through to the - compilation command(s). Use this to add your - own include directories to search to the build - process. - - --LL _l_i_b_d_i_r This option is directly passed through to the - linker command. Use this to add your own - library directories to search to the build - process. - - --ll _l_i_b_n_a_m_e This option is directly passed through to the - linker command. Use this to add your own - libraries to search to the build process. - - --WWcc,,_c_o_m_p_i_l_e_r_-_f_l_a_g_s - This option passes _c_o_m_p_i_l_e_r_-_f_l_a_g_s as addi- - tional flags to the compiler command. Use - this to add local compiler-specific options. - - --WWll,,_l_i_n_k_e_r_-_f_l_a_g_s - This option passes _l_i_n_k_e_r_-_f_l_a_g_s as additional - flags to the linker command. Use this to add - local linker-specific options. - - - - - April 1998 3 - - - - - -apxs(8) apxs(8) - - - DSO installation and configuration options: - - --ii This indicates the installation operation and - installs one or more DSOs into the server's - _l_i_b_e_x_e_c directory. - - --aa This activates the module by automatically - adding a corresponding LLooaaddMMoodduullee line to - Apache's hhttttppdd..ccoonnff configuration file, or by - enabling it if it already exists. - - --AA Same as option --aa but the created LLooaaddMMoodduullee - directive is prefixed with a hash sign (#), - i.e. the module is just prepared for later - activation but initially disabled. - - --ee This indicates the editing operation, which - can be used with the --aa and --AA options simi- - larly to the --ii operation to edit Apache's - hhttttppdd..ccoonnff configuration file without attempt- - ing to install the module. - -EEXXAAMMPPLLEESS - Assume you have an Apache module named mod_foo.c available - which should extend Apache's server functionality. To - accomplish this you first have to compile the C source - into a DSO suitable for loading into the Apache server - under runtime via the following command: - - $ apxs -c mod_foo.c - gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c - ld -Bshareable -o mod_foo.so mod_foo.o - $ _ - - Then you have to update the Apache configuration by making - sure a LLooaaddMMoodduullee directive is present to load this DSO. - To simplify this step aappxxss provides an automatic way to - install the DSO in the "libexec" directory and updating - the hhttttppdd..ccoonnff file accordingly. This can be achieved by - running: - - $ apxs -i -a mod_foo.c - cp mod_foo.so /path/to/apache/libexec/mod_foo.so - chmod 755 /path/to/apache/libexec/mod_foo.so - [activating module `foo' in /path/to/apache/etc/httpd.conf] - $ _ - - This way a line named - - LoadModule foo_module libexec/mod_foo.so - - is added to the configuration file if still not present. - If you want to have this operation to be disabled, use the - --AA option, i.e. - - - - April 1998 4 - - - - - -apxs(8) apxs(8) - - - $ apxs -i -A mod_foo.c - - For a quick test of the aappxxss mechanism you can create a - sample Apache module template plus a corresponding MMaakkee-- - ffiillee via: - - $ apxs -g -n foo - Creating [DIR] foo - Creating [FILE] foo/Makefile - Creating [FILE] foo/mod_foo.c - $ _ - - Then you can immediately compile this sample module into a - DSO and load it into the Apache server: - - $ cd foo - $ make all reload - apxs -c mod_foo.c - gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c - ld -Bshareable -o mod_foo.so mod_foo.o - apxs -i -a -n "foo" mod_foo.so - cp mod_foo.so /path/to/apache/libexec/mod_foo.so - chmod 755 /path/to/apache/libexec/mod_foo.so - [activating module `foo' in /path/to/apache/etc/httpd.conf] - apachectl restart - /path/to/apache/sbin/apachectl restart: httpd not running, trying to start - [Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module - /path/to/apache/sbin/apachectl restart: httpd started - $ _ - - You can even use aappxxss to compile complex modules outside - the Apache source tree, like PHP3, because aappxxss automati- - cally recognized C source files and object files. - - $ cd php3 - $ ./configure --with-shared-apache=../apache-1.3 - $ apxs -c -o libphp3.so mod_php3.c libmodphp3-so.a - gcc -fpic -DSHARED_MODULE -I/tmp/apache/include -c mod_php3.c - ld -Bshareable -o libphp3.so mod_php3.o libmodphp3-so.a - $ _ - - Only C source files are compiled while remaining object - files are used for the linking phase. - - -SSEEEE AALLSSOO - aappaacchheeccttll((11)),, hhttttppdd((88)).. - - - - - - - - - - - April 1998 5 - - diff --git a/usr.sbin/httpd/src/support/dbmmanage.cat1 b/usr.sbin/httpd/src/support/dbmmanage.cat1 deleted file mode 100644 index fb86559b73d..00000000000 --- a/usr.sbin/httpd/src/support/dbmmanage.cat1 +++ /dev/null @@ -1,132 +0,0 @@ - - - -dbmmanage(1) dbmmanage(1) - - -NNAAMMEE - dbmmanage - Create and update user authentication files in - DBM format - -SSYYNNOOPPSSIISS - ddbbmmmmaannaaggee _f_i_l_e_n_a_m_e [ _c_o_m_m_a_n_d ] [ _u_s_e_r_n_a_m_e [ _e_n_c_p_a_s_s_w_d ] ] - - -DDEESSCCRRIIPPTTIIOONN - ddbbmmmmaannaaggee is used to create and update the DBM format - files used to store usernames and password for basic - authentication of HTTP users. Resources available from - the hhttttppdd Apache web server can be restricted to just the - users listed in the files created by ddbbmmmmaannaaggee.. This pro- - gram can only be used when the usernames are stored in a - DBM file. To use a flat-file database see hhttppaasssswwdd. - - This manual page only lists the command line arguments. - For details of the directives necessary to configure user - authentication in hhttttppdd see the Apache manual, which is - part of the Apache distribution or can be found at - http://httpd.apache.org/. - -OOPPTTIIOONNSS - _f_i_l_e_n_a_m_e - The filename of the DBM format file. Usually with- - out the extension .db, .pag, or .dir. - - _c_o_m_m_a_n_d - This selects the operation to perform: - - aadddd Adds an entry for _u_s_e_r_n_a_m_e to _f_i_l_e_n_a_m_e using - the encrypted password _e_n_c_p_a_s_s_w_o_r_d. - - aadddduusseerr Asks for a password and then adds an entry for - _u_s_e_r_n_a_m_e to _f_i_l_e_n_a_m_e . - - cchheecckk Asks for a password and then checks if _u_s_e_r_- - _n_a_m_e is in _f_i_l_e_n_a_m_e and if it's password - matches the specified one. - - ddeelleettee Deletes the _u_s_e_r_n_a_m_e entry from _f_i_l_e_n_a_m_e. - - iimmppoorrtt Reads username:password entries (one per line) - from STDIN and adds them to _f_i_l_e_n_a_m_e. The - passwords already has to be crypted. - - uuppddaattee Same as the "adduser" command, except that it - makes sure _u_s_e_r_n_a_m_e already exists in _f_i_l_e_- - _n_a_m_e. - - vviieeww Just displays the complete contents of the DBM - file. - - - - - March 1998 1 - - - - - -dbmmanage(1) dbmmanage(1) - - - _u_s_e_r_n_a_m_e The user for which the update operation is - performed. - -BBUUGGSS - One should be aware that there are a number of different - DBM file formats in existance, and with all likelihood, - libraries for more than one format may exist on your sys- - tem. The three primary examples are NDBM, the GNU pro- - ject's GDBM, and Berkeley DB 2. Unfortunately, all these - libraries use different file formats, and you must make - sure that the file format used by _f_i_l_e_n_a_m_e is the same - format that ddbbmmmmaannaaggee expects to see. ddbbmmmmaannaaggee currently - has no way of determining what type of DBM file it is - looking at. If used against the wrong format, will simply - return nothing, or may create a different DBM file with a - different name, or at worst, it may corrupt the DBM file - if you were attempting to write to it. - - ddbbmmmmaannaaggee has a list of DBM format preferences, defined by - the @@AAnnyyDDBBMM::::IISSAA array near the beginning of the program. - Since we prefer the Berkeley DB 2 file format, the order - in which ddbbmmmmaannaaggee will look for system libraries is - Berkeley DB 2, then NDBM, and then GDBM. The first - library found will be the library ddbbmmmmaannaaggee will attempt - to use for all DBM file transactions. This ordering is - slightly different than the standard @@AAnnyyDDBBMM::::IISSAA ordering - in perl, as well as the ordering used by the simple - dbmopen() call in Perl, so if you use any other utilities - to manage your DBM files, they must also follow this pref- - erence ordering. Similar care must be taken if using pro- - grams in other languages, like C, to access these files. - - Apache's mmoodd__aauutthh__ddbb..cc module corresponds to Berkeley DB 2 - library, while mmoodd__aauutthh__ddbbmm..cc corresponds to the NDBM - library. Also, one can usually use the ffiillee program sup- - plied with most Unix systems to see what format a DBM file - is in. - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - - March 1998 2 - - diff --git a/usr.sbin/httpd/src/support/htdigest.cat1 b/usr.sbin/httpd/src/support/htdigest.cat1 deleted file mode 100644 index 619241968ef..00000000000 --- a/usr.sbin/httpd/src/support/htdigest.cat1 +++ /dev/null @@ -1,66 +0,0 @@ - - - -htdigest(1) htdigest(1) - - -NNAAMMEE - htdigest - Create and update user authentication files - -SSYYNNOOPPSSIISS - hhttddiiggeesstt [ --cc ] _p_a_s_s_w_d_f_i_l_e _r_e_a_l_m _u_s_e_r_n_a_m_e - -DDEESSCCRRIIPPTTIIOONN - hhttddiiggeesstt is used to create and update the flat-files used - to store usernames, realm and password for digest authen- - tication of HTTP users. Resources available from the - hhttttppdd Apache web server can be restricted to just the - users listed in the files created by hhttddiiggeesstt.. - - This manual page only lists the command line arguments. - For details of the directives necessary to configure - digest authentication in hhttttppdd see the Apache manual, - which is part of the Apache distribution or can be found - at http://httpd.apache.org/. - -OOPPTTIIOONNSS - -c Create the _p_a_s_s_w_d_f_i_l_e. If _p_a_s_s_w_d_f_i_l_e already - exists, it is deleted first. - - _p_a_s_s_w_d_f_i_l_e - Name of the file to contain the username, realm and - password. If -c is specified, this file is created - if it does not already exist, or deleted and recre- - ated if it does exist. - - _r_e_a_l_m The realm name to which the user name belongs. - - _u_s_e_r_n_a_m_e - The user name to create or update in ppaasssswwddffiillee. If - _u_s_e_r_n_a_m_e does not exist is this file, an entry is - added. If it does exist, the password is changed. - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - - - - November 2000 1 - - diff --git a/usr.sbin/httpd/src/support/htpasswd.cat1 b/usr.sbin/httpd/src/support/htpasswd.cat1 deleted file mode 100644 index 8027179b920..00000000000 --- a/usr.sbin/httpd/src/support/htpasswd.cat1 +++ /dev/null @@ -1,198 +0,0 @@ - - - -htpasswd(1) htpasswd(1) - - -NNAAMMEE - htpasswd - Create and update user authentication files - -SSYYNNOOPPSSIISS - hhttppaasssswwdd [ --cc ] [ --mm | --dd | --ss | --pp ] _p_a_s_s_w_d_f_i_l_e _u_s_e_r_n_a_m_e - hhttppaasssswwdd --bb [ --cc ] [ --mm | --dd | --ss | --pp ] _p_a_s_s_w_d_f_i_l_e _u_s_e_r_- - _n_a_m_e _p_a_s_s_w_o_r_d - hhttppaasssswwdd --nn [ --mm | --dd | --ss | --pp ] _u_s_e_r_n_a_m_e - hhttppaasssswwdd --nnbb [ --mm | --dd | --ss | --pp ] _u_s_e_r_n_a_m_e _p_a_s_s_w_o_r_d - -DDEESSCCRRIIPPTTIIOONN - hhttppaasssswwdd is used to create and update the flat-files used - to store usernames and password for basic authentication - of HTTP users. If hhttppaasssswwdd 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 hhttttppdd Apache web server can - be restricted to just the users listed in the files cre- - ated by hhttppaasssswwdd.. This program can only manage usernames - and passwords 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 ddbbmmmmaannaaggee. - - hhttppaasssswwdd encrypts passwords using either a version of MD5 - modified for Apache, or the system's _c_r_y_p_t_(_) routine. - Files managed by hhttppaasssswwdd may contain both types of pass- - words; some user records may have MD5-encrypted passwords - while others in the same file may have passwords encrypted - with _c_r_y_p_t_(_). - - This manual page only lists the command line arguments. - For details of the directives necessary to configure user - authentication in hhttttppdd see the Apache manual, which is - part of the Apache distribution or can be found at - <URL:http://httpd.apache.org/>. - -OOPPTTIIOONNSS - -b Use batch mode; _i_._e_., get the password from the - command line rather than prompting for it. TThhiiss - ooppttiioonn sshhoouulldd bbee uusseedd wwiitthh eexxttrreemmee ccaarree,, ssiinnccee tthhee - ppaasssswwoorrdd iiss cclleeaarrllyy vviissiibbllee oonn tthhee ccoommmmaanndd lliinnee.. - - -c Create the _p_a_s_s_w_d_f_i_l_e. If _p_a_s_s_w_d_f_i_l_e already - exists, it is rewritten and truncated. This option - cannot be combined with the --nn option. - - -n Display the results on standard output rather than - updating a file. This is useful for generating - password records acceptable to Apache for inclusion - in non-text data stores. This option changes the - syntax of the command line, since the _p_a_s_s_w_d_f_i_l_e - argument (usually the first one) is omitted. It - - - - May 2000 1 - - - - - -htpasswd(1) htpasswd(1) - - - cannot be combined with the --cc option. - - -m Use Apache's modified MD5 algorithm for passwords. - Passwords encrypted with this algorithm are trans- - portable 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 possi- - bly supported by hhttppaasssswwdd on all platforms, it is - not supported by the hhttttppdd server on Windows and - TPF. - - -s Use SHA encryption for passwords. Faciliates migra- - tion from/to Netscape servers using the LDAP Direc- - tory Interchange Format (ldif). - - -p Use plaintext passwords. Though hhttppaasssswwdd will sup- - port creation on all platforms, the hhttttppdd deamon - will only accept plain text passwords on Windows - and TPF. - - _p_a_s_s_w_d_f_i_l_e - Name of the file to contain the user name and pass- - word. If -c is given, this file is created if it - does not already exist, or rewritten and truncated - if it does exist. - - _u_s_e_r_n_a_m_e - The username to create or update in ppaasssswwddffiillee. If - _u_s_e_r_n_a_m_e does not exist in this file, an entry is - added. If it does exist, the password is changed. - - _p_a_s_s_w_o_r_d - The plaintext password to be encrypted and stored - in the file. Only used with the _-_b flag. - -EEXXIITT SSTTAATTUUSS - hhttppaasssswwdd returns a zero status ("true") if the username - and password have been successfully added or updated in - the _p_a_s_s_w_d_f_i_l_e. hhttppaasssswwdd returns 1 if it encounters some - problem accessing files, 2 if there was a syntax problem - with the command line, 3 if the password was entered - interactively and the verification entry didn't match, 4 - if its operation was interrupted, 5 if a value is too long - (username, filename, password, or final computed record), - and 6 if the username contains illegal characters (see the - RREESSTTRRIICCTTIIOONNSS section). - -EEXXAAMMPPLLEESS - hhttppaasssswwdd //uussrr//llooccaall//eettcc//aappaacchhee//..hhttppaasssswwdd--uusseerrss jjssmmiitthh - - Adds or modifies the password for user _j_s_m_i_t_h. The - - - - May 2000 2 - - - - - -htpasswd(1) htpasswd(1) - - - user is prompted for the password. If executed on - a Windows system, the password will be encrypted - using the modified Apache MD5 algorithm; otherwise, - the system's _c_r_y_p_t_(_) routine will be used. If the - file does not exist, hhttppaasssswwdd will do nothing - except return an error. - - hhttppaasssswwdd --cc //hhoommee//ddooee//ppuubblliicc__hhttmmll//..hhttppaasssswwdd jjaannee - - Creates a new file and stores a record in it for - user _j_a_n_e. The user is prompted for the password. - If the file exists and cannot be read, or cannot be - written, it is not altered and hhttppaasssswwdd will dis- - play a message and return an error status. - - hhttppaasssswwdd --mmbb //uussrr//wweebb//..hhttppaasssswwdd--aallll jjoonneess PPwwdd44SStteevvee - - Encrypts the password from the command line - (_P_w_d_4_S_t_e_v_e) using the MD5 algorithm, and stores it - in the specified file. - - -SSEECCUURRIITTYY CCOONNSSIIDDEERRAATTIIOONNSS - Web password files such as those managed by hhttppaasssswwdd - should nnoott be within the Web server's URI space -- that - is, they should not be fetchable with a browser. - - The use of the _-_b option is discouraged, since when it is - used the unencrypted password appears on the command line. - -RREESSTTRRIICCTTIIOONNSS - On the Windows and MPE platforms, passwords encrypted with - hhttppaasssswwdd are limited to no more than 255 characters in - length. Longer passwords will be truncated to 255 charac- - ters. - - The MD5 algorithm used by hhttppaasssswwdd 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 ':'. - -SSEEEE AALLSSOO - hhttttppdd((88)) and the scripts in support/SHA1 which come with - the distribution. - - - - - - - - - - - - May 2000 3 - - diff --git a/usr.sbin/httpd/src/support/logresolve.cat8 b/usr.sbin/httpd/src/support/logresolve.cat8 deleted file mode 100644 index 184d0b31e5c..00000000000 --- a/usr.sbin/httpd/src/support/logresolve.cat8 +++ /dev/null @@ -1,66 +0,0 @@ - - - -logresolve(8) logresolve(8) - - -NNAAMMEE - logresolve - resolve hostnames for IP-adresses in Apache - logfiles - -SSYYNNOOPPSSIISS - llooggrreessoollvvee [ --ss _f_i_l_e_n_a_m_e ] [ --cc ] < _a_c_c_e_s_s___l_o_g > - _a_c_c_e_s_s___l_o_g_._n_e_w - - -DDEESSCCRRIIPPTTIIOONN - llooggrreessoollvvee is a post-processing program to resolve IP- - adresses in Apache's access logfiles. To minimize impact - on your nameserver, logresolve has its very own internal - hash-table cache. This means that each IP number will only - be looked up the first time it is found in the log file. - -OOPPTTIIOONNSS - --ss _f_i_l_e_n_a_m_e Specifies a filename to record statistics. - - --cc This causes llooggrreessoollvvee to apply some DNS - checks: after finding the hostname from the IP - address, it looks up the IP addresses for the - hostname and checks that one of these matches - the original address. - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - March 1998 1 - - diff --git a/usr.sbin/httpd/src/support/rotatelogs.cat8 b/usr.sbin/httpd/src/support/rotatelogs.cat8 deleted file mode 100644 index dbf29cf5e4b..00000000000 --- a/usr.sbin/httpd/src/support/rotatelogs.cat8 +++ /dev/null @@ -1,66 +0,0 @@ - - - -rotatelogs(8) rotatelogs(8) - - -NNAAMMEE - rotatelogs - rotate Apache logs without having to kill the - server - -SSYYNNOOPPSSIISS - rroottaatteellooggss _l_o_g_f_i_l_e _r_o_t_a_t_i_o_n_t_i_m_e _[_o_f_f_s_e_t_] - - -DDEESSCCRRIIPPTTIIOONN - rroottaatteellooggss is a simple program for use in conjunction with - Apache's piped logfile feature which can be used like - this: - - TransferLog "| rotatelogs /path/to/logs/access_log - 86400" - - This creates the files /path/to/logs/access_log.nnnn where - nnnn is the system time at which the log nominally starts - (this time will always be a multiple of the rotation time, - so you can synchronize cron scripts with it). At the end - of each rotation time (here after 24 hours) a new log is - started. - -OOPPTTIIOONNSS - _l_o_g_f_i_l_e - The path plus basename of the logfile. If llooggffiillee - includes any %% characters, it is treated as a for- - mat string for _s_t_r_f_t_i_m_e_(_3_). Otherwise, the suffix - .nnnn is automatically added and is the time at - which the logfile was created. - - _r_o_t_a_t_i_o_n_t_i_m_e - The rotation time in seconds. - - _o_f_f_s_e_t The number of minutes offset from UTC. If omitted, - zero is assumed and UTC is used. For example, to - use local time in the zone UTC -5 hours, specify a - value of _-_3_0_0 for this argument. - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - March 2001 1 - - diff --git a/usr.sbin/httpd/src/support/suexec.cat8 b/usr.sbin/httpd/src/support/suexec.cat8 deleted file mode 100644 index 0cf799555b8..00000000000 --- a/usr.sbin/httpd/src/support/suexec.cat8 +++ /dev/null @@ -1,66 +0,0 @@ - - - -suexec(8) suexec(8) - - -NNAAMMEE - suexec - Switch User For Exec - -SSYYNNOOPPSSIISS - ssuueexxeecc --VV - - No other synopsis for usage, because this program is oth- - erwise only used internally by the Apache HTTP server. - - -DDEESSCCRRIIPPTTIIOONN - ssuueexxeecc is the "wrapper" support program for the suexec - behaviour for the Apache HTTP server. It is run from - within the server automatically to switch the user when an - external program has to be run under a different user. For - more information about suexec, see the online document - `Apache suexec Support' on the HTTP server project's Web - site at http://httpd.apache.org/docs/suexec.html . - -OOPPTTIIOONNSS - -V Display the list of compile-time settings used when - ssuueexxeecc was built. No other action is taken. - -SSEEEE AALLSSOO - hhttttppdd((88)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - March 2001 1 - - |