NAME httpd - Apache hypertext transfer protocol server SYNOPSIS httpd [ - X ] [ - R libexecdir ] [ - d serverroot ] [ - f config ] [ - C directive ] [ - c directive ] [ - D parameter ] httpd [ - h ] [ - l ] [ - L ] [ - v ] [ - V ] [ - S ] [ - t ] [ - T ] DESCRIPTION httpd is the Apache HyperText Transfer Protocol (HTTP) server program. ... This manual page only lists the command line arguments. ... Paths in this manual may not reflect those compiled into httpd. ... The default is /usr/local/apache . ...
NAME logresolve - resolve hostnames for IP-addresses in Apache logfiles SYNOPSIS logresolve [ - s filename ] [ - c ] < access _ log > access _ log . new DESCRIPTION logresolve is a post-processing program to resolve IP- addresses 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. ...
The following programs are simple support programs included with the Apache HTTP Server which do not have their own manual pages. ... It connects to the server and downloads the status information. It reformats the information to a single line and logs it to a file. ... This Perl script will take a combined Web server access log file and break its contents into separate files. ... The combined log file is read from stdin. Records read will be appended to any existing log files. ...
NAME rotatelogs - rotate Apache logs without having to kill the server SYNOPSIS rotatelogs logfile rotationtime DESCRIPTION rotatelogs 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 ... OPTIONS logfile The path plus basename of the logfile. ...
NAME apxs - APache eXtenSion tool SYNOPSIS apxs - g [ - S variable = value ] - n name apxs - q [ - S variable = value ] query ... apxs - c [ - S variable = value ] [ - o dsofile ] [ - I incdir ] [ - D variable [= value ] ] [ - L libdir ] [ - l libname ] [ - Wc, compiler - flags ] [ - Wl, linker - flags ] files ... apxs - i [ - S variable = value ] [ - n name ] [ - a ] [ - A ] dso- file ... apxs - e [ - S variable = value ] [ - n name ] [ - a ] [ - A ] dso- file .. ...
NAME dbmmanage - Create and update user authentication files in DBM format SYNOPSIS dbmmanage filename [ command ] [ username [ encpasswd ] ] DESCRIPTION dbmmanage is used to create and update the DBM format files used to store usernames and password for basic authentica- tion of HTTP users. Resources available from the httpd Apache web server can be restricted to just the users listed in the files created by dbmmanage. ... This manual page only lists the command line arguments. ...
... The question is, how to get a machine with one network interface to respond to more than one IP addresses. ... changes (most likely only in the includes). ---------------------netinet/if_vif.h-------------------------------------- typedef struct { struct ifnet vif_if; struct ifnet *vif_sif; /* slave interface */ int vif_flags; } vif_softc_t; #define VIFMTU (1024+512) --------------------------------------------------------------------------- ...
... It describes how one can use Apache's mod_rewrite to solve typical URL-based problems webmasters are usually confronted with in practice. I give detailed descriptions on how to solve each problem by configuring URL rewriting rulesets. The Apache module mod_rewrite is a killer one, i.e. it is a really sophisticated module which provides a powerful way to do URL manipulations. ... Description: . ... RewriteCond %{HTTP_HOST} !^fully\.qualified\.domain\.name [NC] RewriteCond %{HTTP_HOST} !^ ...
Below is a set of newsgroup posts made by an engineer from DEC in response to queries about how to modify DEC's Digital Unix OS for more heavily loaded web sites. ... Our experience (running such Web servers as altavista.digital.com and www.digital.com ) is that there is one important kernel tuning knob to adjust in order to get good performance on V3.2C. You need to patch the kernel global variable "somaxconn" (use dbx -k to do this) from its default value of 8 to something much larger. ...
... Run-Time Configuration Issues . ... A webserver should never ever have to swap, swapping increases the latency of each request beyond a point that users consider "fast enough". ... When keep-alives are in use, children will be kept busy doing nothing waiting for more requests on the already open connection. ... Notice the two time calls: time(NULL) = 873959960 ... time(NULL) = 873959960 One of these occurs at the beginning of the request, and the other occurs as a result of writing the log. ...
... redirect an entire server or directory to a single URL . ... stop/restrict robots . proxy SSL requests through your non-SSL server . There are two chief ways to redirect all requests for an entire server to a single location: one which requires the use of mod_rewrite , and another which uses a CGI script. First: if all you need to do is migrate a server from one name to another, simply use the Redirect directive, as supplied by mod_alias : Redirect / http://www.apache.org/ . ...
... After the edit, recompile the kernel and recompile the Apache server then reboot. ... Addendum for very heavily loaded BSD servers . ... If you're running a really busy BSD Apache server, the following are useful things to do if the system is acting sluggish: . ... Here are some BSD kernel config parameters (actually BSDI, but pertinent to FreeBSD and other 4.4-lite derivatives) from a system getting heavy usage. ... Rebuilding the FreeBSD kernel on an AMD-133 (486-class CPU) web-server with . ...
... Naming the individual error document files . ... Creating ErrorDocuments in different languages . ... Customizing Proxy Error Messages . ... This document describes an easy way to provide your apache WWW server with a set of customized error messages which take advantage of Content Negotiation and eXtended Server Side Includes (XSSI) to return error messages generated by the server in the client's native language. ... For demonstration purposes, we present a simple generic error document scheme. ...
A descriptor , also commonly called a file handle is an object that a program uses to read or write an open file, or open network socket, or a variety of other devices. ... The operating system enforces a limit on the number of descriptors that a program can have open at a time. ... One is a kernel limitation, depending on your operating system you will either be able to tune the number of descriptors available to higher numbers (this is frequently called FD_SETSIZE ). ...
While Apache is for the most part a drop-in replacement for NCSA's httpd, there are a couple gotcha's to watch out for. These are mostly due to the fact that the parser for config and access control files was rewritten from scratch, so certain liberties the earlier servers took may not be available here. ... The basic mod_auth AuthGroupFile -specified group file format allows commas between user names - Apache does not. ... Apache does not implement OnDeny ; use ErrorDocument instead. ...
This module provides for user-specific directories. ... Source File: mod_userdir.c . ... Module: mod_userdir . Compatibility: All forms except the UserDir public_html form are only available in Apache 1.1 or above. ... Directory-filename is one of the following: . ... A request for http://www.foo.com/~bob/one/two.html will be translated to: UserDir public_html -> ~bob/public_html/one/two.html UserDir /usr/web -> /usr/web/bob/one/two.html UserDir /home/*/www -> /home/bob/www/one/two.html . ...
This module uses cookies to provide for a clickstream log of user activity on a site. ... Compatibility: Known as mod_cookies prior to Apache 1.3. Previous releases of Apache have included a module which generates a 'clickstream' log of user activity on a site using cookies. ... In Apache 1.2 and later this module has been renamed the "user tracking" module, mod_usertrack. ... Previously, the cookies module (now the user tracking module) did its own logging, using the CookieLog directive. ...
This module provides support for dynamically configured mass virtual hosting . ... Source File: mod_vhost_alias.c . ... For simple name-based virtual hosts you might use the following directives in your server configuration file: UseCanonicalName Off VirtualDocumentRoot /usr/local/apache/vhosts/%0 . A request for http://www.example.com/directory/file.html will be satisfied by the file /usr/local/apache/vhosts/www.example.com/directory/file.html . ... Module: mod_vhost_alias . ...
This module provides the ability to set environment variables based upon attributes of the request. ... Source File: mod_setenvif.c . ... The mod_setenvif module allows you to set environment variables according to whether different aspects of the request match regular expressions you specify. ... Syntax: BrowserMatch regex envar [= value ] [ envar [= value ]] .. ... Module: mod_setenvif . ... The BrowserMatch directive defines environment variables based on the User-Agent HTTP request header field. ...
... Compatibility: Available in Apache 1.3 and later. Available as an External module in Apache 1.1 and later. ... It does its work by comparing each document name in the requested directory against the requested document name without regard to case , and allowing up to one misspelling (character insertion / omission / transposition or wrong character). ... Compatibility: CheckSpelling was available as a separately available module for Apache 1.1, but was limited to miscapitalizations. ...