* Adapted to Apache by rst.
*
* dirkx - Added Authoritative control to allow passing on to lower
- * modules if and only if the user ap_context_t d is not known to this
+ * modules if and only if the userid is not known to this
* module. A known user with a faulty or absent password still
* causes an AuthRequired. The default is 'Authoritative', i.e.
* no control is passed along.
*
* Just add the following tokes to your <directory> setup:
*
- * Anonymous magic-user ap_context_t d [magic-user ap_context_t d]...
+ * Anonymous magic-userid [magic-userid]...
*
* Anonymous_MustGiveEmail [ on | off ] default = off
* Anonymous_LogEmail [ on | off ] default = on
* can also be used when compatibility mode is enabled.
*
* dirkx - Added Authoritative control to allow passing on to lower
- * modules if and only if the user ap_context_t d is not known to this
+ * modules if and only if the userid is not known to this
* module. A known user with a faulty or absent password still
* causes an AuthRequired. The default is 'Authoritative', i.e.
* no control is passed along.
* Adapted to Apache by rst.
*
* dirkx - Added Authoritative control to allow passing on to lower
- * modules if and only if the user ap_context_t d is not known to this
+ * modules if and only if the userid is not known to this
* module. A known user with a faulty or absent password still
* causes an AuthRequired. The default is 'Authoritative', i.e.
* no control is passed along.
* function as well).
*
* To load, simply place the ISA in a location in the document tree.
- * Then add an "AddHandler isapi ap_context_t sa dll" into your config file.
+ * Then add an "AddHandler isapi-isa dll" into your config file.
* You should now be able to load ISAPI DLLs just be reffering to their
* URLs. Make sure the ExecCGI option is active in the directory
* the ISA is in.
}
handler_rec isapi_handlers[] = {
-{ "isapi ap_context_t sa", isapi_handler },
+{ "isapi-isa", isapi_handler },
{ NULL}
};
*/
/*
- * All our module ap_context_t nitialiser does is add its trace to the log.
+ * All our module initialiser does is add its trace to the log.
*/
static void example_init(server_rec *s, ap_context_t *p)
{
/*
* This function is called during server initialisation when an heavy-weight
* process (such as a child) is being initialised. As with the
- * module ap_context_t nitialisation function, any information that needs to be recorded
+ * module initialisation function, any information that needs to be recorded
* must be in static cells, since there's no configuration record.
*
* There is no return value.
*/
/*
- * All our process ap_context_t nitialiser does is add its trace to the log.
+ * All our process initialiser does is add its trace to the log.
*/
static void example_child_init(server_rec *s, ap_context_t *p)
{
/*
* This function is called when an heavy-weight process (such as a child) is
- * being run down or destroyed. As with the child ap_context_t nitialisation function,
+ * being run down or destroyed. As with the child initialisation function,
* any information that needs to be recorded must be in static cells, since
* there's no configuration record.
*
char *dname = dirspec;
/*
- * Allocate the space for our record from the ap_context_t supplied.
+ * Allocate the space for our record from the pool supplied.
*/
cfg = (excfg *) ap_pcalloc(p, sizeof(excfg));
/*
static const handler_rec asis_handlers[] =
{
{ASIS_MAGIC_TYPE, asis_handler},
- {"send-as ap_context_t s", asis_handler},
+ {"send-asis", asis_handler},
{NULL}
};
}
else {
/*
- * If there were any non ap_context_t ncremental options selected for
+ * If there were any nonincremental options selected for
* this directory, they dominate and we don't inherit *anything.*
* Contrariwise, we *do* inherit if the only settings here are
* incremental ones.
}
else {
/*
- * There are local non ap_context_t ncremental settings, which clear
+ * There are local nonincremental settings, which clear
* all inheritance from above. They *are* the new base settings.
*/
new->opts = add->opts;;
* Info Module. Display configuration information for the server and
* all included modules.
*
- * <Location /server ap_context_t nfo>
- * SetHandler server ap_context_t nfo
+ * <Location /server-info>
+ * SetHandler server-info
* </Location>
*
- * GET /server ap_context_t nfo - Returns full configuration page for server and all modules
- * GET /server ap_context_t nfo?server - Returns server configuration only
- * GET /server ap_context_t nfo?module_name - Returns configuration for a single module
- * GET /server ap_context_t nfo?list - Returns quick list of included modules
+ * GET /server-info - Returns full configuration page for server and all modules
+ * GET /server-info?server - Returns server configuration only
+ * GET /server-info?module_name - Returns configuration for a single module
+ * GET /server-info?list - Returns quick list of included modules
*
* Rasmus Lerdorf <rasmus@vex.net>, May 1996
*
static const handler_rec info_handlers[] =
{
- {"server ap_context_t nfo", display_info},
+ {"server-info", display_info},
{NULL}
};
#include "http_log.h"
#include "util_script.h"
-#define IMAP_MAGIC_TYPE "application/x-httpd ap_context_t map"
+#define IMAP_MAGIC_TYPE "application/x-httpd-imap"
#define MAXVERTS 100
#define X 0
#define Y 1
*/
result->name = ap_get_token(p, &accept_line, 0);
- ap_str_tolower(result->name); /* You want case ap_context_t nsensitive,
- * you'll *get* case ap_context_t nsensitive.
+ ap_str_tolower(result->name); /* You want case insensitive,
+ * you'll *get* case insensitive.
*/
/* KLUDGE!!! Default HTML to level 2.0 unless the browser
}
/* now be careful: Under the POSIX regex library
- we can compile the pattern for case ap_context_t nsensitive matching,
+ we can compile the pattern for case insensitive matching,
under the old V8 library we have to do it self via a hack */
if (new->flags & CONDFLAG_NOCASE) {
rc = ((regexp = ap_pregcomp(cmd->pool, cp, REG_EXTENDED|REG_ICASE))
* make sure we really match against the complete URL.
*/
if (perdir != NULL && r->path_info != NULL && r->path_info[0] != '\0') {
- rewritelog(r, 3, "[per-dir %s] add path ap_context_t nfo postfix: %s -> %s%s",
+ rewritelog(r, 3, "[per-dir %s] add path info postfix: %s -> %s%s",
perdir, uri, uri, r->path_info);
uri = ap_pstrcat(r->pool, uri, r->path_info, NULL);
}
* You can use this to dynamically change the capability of your server
* without bringing it down.
*
- * Because currently there is only limited built ap_context_t n support in the Configure
+ * Because currently there is only limited builtin support in the Configure
* script for creating the shared library files (`.so'), please consult your
* vendors cc(1), ld(1) and dlopen(3) manpages to find out the appropriate
* compiler and linker flags and insert them manually into the Configuration
*
* For compliance with Mr Darwin's terms: this has been very significantly
* modified from the free "file" command.
- * - all ap_context_t n-one file for compilation convenience when moving from one
+ * - all-in-one file for compilation convenience when moving from one
* version of Apache to the next.
* - Memory allocation is done through the Apache API's ap_context_t structure.
* - All functions have had necessary Apache API request or server
* with username and password (which was presumably queried from the user)
* supplied in the Authorization: header.
* Note that we "invent" a realm name which consists of the
- * ftp://user@host part of the reqest (sans password ap_context_t f supplied but invalid-)
+ * ftp://user@host part of the reqest (sans password if supplied but invalid-)
*/
static int ftp_unauthorized (request_rec *r, int log_it)
{
return "Port number in URL > 65535";
}
}
- ap_str_tolower(host); /* DNS names are case ap_context_t nsensitive */
+ ap_str_tolower(host); /* DNS names are case insensitive */
if (*host == '\0')
return "Missing host in URL";
/* check hostname syntax */
/*
- * list is a comma-separated list of case ap_context_t nsensitive tokens, with
+ * list is a comma-separated list of case insensitive tokens, with
* optional whitespace around the tokens.
* The return returns 1 if the token val is found in the list, or 0
* otherwise.
* function as well).
*
* To load, simply place the ISA in a location in the document tree.
- * Then add an "AddHandler isapi ap_context_t sa dll" into your config file.
+ * Then add an "AddHandler isapi-isa dll" into your config file.
* You should now be able to load ISAPI DLLs just be reffering to their
* URLs. Make sure the ExecCGI option is active in the directory
* the ISA is in.
}
handler_rec isapi_handlers[] = {
-{ "isapi ap_context_t sa", isapi_handler },
+{ "isapi-isa", isapi_handler },
{ NULL}
};
}
ap_register_cleanup(p, NULL, accept_mutex_cleanup, ap_null_cleanup);
- /* pre ap_context_t nitialize these */
+ /* preinitialize these */
op_on.sem_num = 0;
op_on.sem_op = -1;
op_on.sem_flg = SEM_UNDO;
requests_this_child = 0;
last_lr = NULL;
- /* Get a sub ap_context_t for global allocations in this child, so that
+ /* Get a sub context for global allocations in this child, so that
* we can have cleanups occur when the child exits.
*/
ap_create_context(&pchild, pconf);
signal(SIGUSR1, just_die);
signal(SIGTERM, just_die);
- /* Get a sub ap_context_t for global allocations in this child, so that
+ /* Get a sub pool for global allocations in this child, so that
* we can have cleanups occur when the child exits.
*/
pchild = ap_make_sub_pool(pconf);
/*
* Get the data for registry key value. This is a generic function that
* can either get a value into a caller-supplied buffer, or it can
- * allocate space for the value from the pass ap_context_t n pool. It will normally
+ * allocate space for the value from the pass in pool. It will normally
* be used by other functions within this file to get specific key values
* (e.g. registry_get_server_root()). This function returns a number of
* different error statuses, allowing the caller to differentiate
unsigned long *shared_counter;
if (argc != 3) {
- fprintf (stderr, "Usage: time-sem num-child num ap_context_t ter\n");
+ fprintf (stderr, "Usage: time-sem num-child num iter\n");
exit (1);
}