#include "config.h"#include "womalloc.h"#include "request.h"#include "response.h"#include "log.h"#include "transaction.h"#include "appcfg.h"#include "MoreURLCUtilities.h"#include "listing.h"#include "errors.h"#include "httperrors.h"#include "apache_security.h"#include <httpd.h>#include <http_config.h>#include <http_request.h>#include <http_log.h>#include <http_main.h>#include <http_core.h>#include <http_protocol.h>#include <string.h>

Classes | |
| struct | _WebObjects_config |
Defines | |
| #define | WEBOBJECTS_MAGIC_TYPE "application/x-httpd-webobjects" |
| #define | WebObjectsAdaptorInfo "WebObjectsAdaptorInfo" |
| #define | WebObjectsAdminPassword "WebObjectsAdminPassword" |
| #define | WebObjectsAdminUsername "WebObjectsAdminUsername" |
| #define | WebObjectsAlias "WebObjectsAlias" |
| #define | WEBOBJECTSALIAS "/cgi-bin/" WEBOBJECTS |
| #define | WebObjectsConfig "WebObjectsConfig" |
| #define | WebObjectsDocRoot "WebObjectsDocumentRoot" |
| #define | WebObjectsLog "WebObjectsLog" |
| #define | WebObjectsOptions "WebObjectsOptions" |
Typedefs | |
| typedef struct _WebObjects_config | WebObjects_config |
Functions | |
| static void | copyHeaders (request_rec *r, HTTPRequest *req) |
| static int | copyTableEntries (void *req, const char *key, const char *val) |
| static int | die (request_rec *r, const char *msg, int status) |
| static int | die_resp (request_rec *r, HTTPResponse *resp) |
| static void | gethdr (const char *key, const char *value, void *req) |
| static int | readContentData (HTTPRequest *req, void *dataBuffer, int dataSize, int mustFill) |
| static void | sendResponse (request_rec *r, HTTPResponse *resp) |
| static const char * | setDocroot (cmd_parms *cmd, void *dummy, const char *arg) |
| static const char * | setOption (cmd_parms *cmd, void *key, const char *value) |
| static const char * | setOption2 (cmd_parms *cmd, void *keys, const char *v1, const char *v2) |
| static const char * | setOption3 (cmd_parms *cmd, void *keys, const char *v1, const char *v2, const char *v3) |
| static const char * | setScriptAlias (cmd_parms *cmd, void *dummy, const char *arg) |
| static void | WebObjects_child_init (server_rec *s, pool *p) |
| static void * | WebObjects_create_config (pool *p, server_rec *s) |
| static int | WebObjects_handler (request_rec *r) |
| static void | WebObjects_init (server_rec *s, pool *p) |
| int | WebObjects_translate (request_rec *r) |
Variables | |
| server_rec * | _webobjects_server |
| static int | adaptorEnabled = 0 |
| static int | initCalled = 0 |
| char * | WA_adaptorName = "Apache" |
| static const command_rec | WebObjects_commands [] |
| handler_rec | WebObjects_handlers [] |
| module | WebObjects_module |
| static const char * | WO_customEnv = "x-webobjects-customenv" |
| #define WEBOBJECTS_MAGIC_TYPE "application/x-httpd-webobjects" |
| #define WebObjectsAdaptorInfo "WebObjectsAdaptorInfo" |
| #define WebObjectsAdminPassword "WebObjectsAdminPassword" |
| #define WebObjectsAdminUsername "WebObjectsAdminUsername" |
| #define WebObjectsAlias "WebObjectsAlias" |
| #define WEBOBJECTSALIAS "/cgi-bin/" WEBOBJECTS |
| #define WebObjectsConfig "WebObjectsConfig" |
| #define WebObjectsDocRoot "WebObjectsDocumentRoot" |
| #define WebObjectsLog "WebObjectsLog" |
| #define WebObjectsOptions "WebObjectsOptions" |
| typedef struct _WebObjects_config WebObjects_config |
| static void copyHeaders | ( | request_rec * | r, | |
| HTTPRequest * | req | |||
| ) | [static] |
| static int copyTableEntries | ( | void * | req, | |
| const char * | key, | |||
| const char * | val | |||
| ) | [static] |
| static int die | ( | request_rec * | r, | |
| const char * | msg, | |||
| int | status | |||
| ) | [static] |
| static int die_resp | ( | request_rec * | r, | |
| HTTPResponse * | resp | |||
| ) | [static] |
| static void gethdr | ( | const char * | key, | |
| const char * | value, | |||
| void * | req | |||
| ) | [static] |
| static int readContentData | ( | HTTPRequest * | req, | |
| void * | dataBuffer, | |||
| int | dataSize, | |||
| int | mustFill | |||
| ) | [static] |
| static void sendResponse | ( | request_rec * | r, | |
| HTTPResponse * | resp | |||
| ) | [static] |
| static const char* setDocroot | ( | cmd_parms * | cmd, | |
| void * | dummy, | |||
| const char * | arg | |||
| ) | [static] |
| static const char* setOption | ( | cmd_parms * | cmd, | |
| void * | key, | |||
| const char * | value | |||
| ) | [static] |
| static const char* setOption2 | ( | cmd_parms * | cmd, | |
| void * | keys, | |||
| const char * | v1, | |||
| const char * | v2 | |||
| ) | [static] |
| static const char* setOption3 | ( | cmd_parms * | cmd, | |
| void * | keys, | |||
| const char * | v1, | |||
| const char * | v2, | |||
| const char * | v3 | |||
| ) | [static] |
| static const char* setScriptAlias | ( | cmd_parms * | cmd, | |
| void * | dummy, | |||
| const char * | arg | |||
| ) | [static] |
| static void WebObjects_child_init | ( | server_rec * | s, | |
| pool * | p | |||
| ) | [static] |
| static void* WebObjects_create_config | ( | pool * | p, | |
| server_rec * | s | |||
| ) | [static] |
| static int WebObjects_handler | ( | request_rec * | r | ) | [static] |
| static void WebObjects_init | ( | server_rec * | s, | |
| pool * | p | |||
| ) | [static] |
| int WebObjects_translate | ( | request_rec * | r | ) |
| server_rec* _webobjects_server |
int adaptorEnabled = 0 [static] |
int initCalled = 0 [static] |
| char* WA_adaptorName = "Apache" |
const command_rec WebObjects_commands[] [static] |
Initial value:
{
{WebObjectsDocRoot, setDocroot, NULL, RSRC_CONF, TAKE1,
"Root directory for WebObjects applications" },
{WebObjectsAlias, setScriptAlias, NULL, RSRC_CONF, TAKE1,
"Script alias for WebObjects applications" },
{WebObjectsConfig, setOption2, WOCONFIG "," WOCNFINTVL, RSRC_CONF, TAKE2,
"Configuration URI, read interval" },
{WebObjectsAdminUsername, setOption, WOUSERNAME, RSRC_CONF, TAKE1,
"WOAdaptorInfo username or 'NULL'" },
{WebObjectsAdminPassword, setOption, WOPASSWORD, RSRC_CONF, TAKE1,
"WOAdaptorInfo password or 'NULL'" },
{WebObjectsLog, setOption2, WOLOGPATH "," WOLOGLEVEL, RSRC_CONF, TAKE2,
"path for WebObjects log file, log level" },
{WebObjectsOptions, setOption, WOOPTIONS, RSRC_CONF, TAKE1,
"additional adaptor options" },
{ NULL }
}
| handler_rec WebObjects_handlers[] |
Initial value:
{
{ WEBOBJECTS_MAGIC_TYPE, WebObjects_handler },
{ WEBOBJECTS, WebObjects_handler },
{ NULL }
}
| module AP_MODULE_DECLARE_DATA WebObjects_module |
Initial value:
{
STANDARD_MODULE_STUFF,
WebObjects_init,
NULL,
NULL,
WebObjects_create_config,
NULL,
WebObjects_commands,
WebObjects_handlers,
WebObjects_translate,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL
}
const char* WO_customEnv = "x-webobjects-customenv" [static] |
1.5.8