#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 <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>#include <apr.h>#include <ap_compat.h>#include <apr_strings.h>#include <apr_tables.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 *key, const char *value) |
| 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 *key, const char *value) |
| static void | WebObjects_child_init (apr_pool_t *p, server_rec *s) |
| static void * | WebObjects_create_config (apr_pool_t *p, server_rec *s) |
| static int | WebObjects_handler (request_rec *r) |
| static int | WebObjects_post_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) |
| static void | WebObjects_register_hooks (apr_pool_t *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_cmds [] |
| module AP_MODULE_DECLARE_DATA | WebObjects_module |
| #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] |
Copies all the http(s) headers "of interest" from the incoming to the outgoing request.
| 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 * | key, | |||
| const char * | value | |||
| ) | [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 * | key, | |||
| const char * | value | |||
| ) | [static] |
| static void WebObjects_child_init | ( | apr_pool_t * | p, | |
| server_rec * | s | |||
| ) | [static] |
| static void* WebObjects_create_config | ( | apr_pool_t * | p, | |
| server_rec * | s | |||
| ) | [static] |
| static int WebObjects_handler | ( | request_rec * | r | ) | [static] |
| static int WebObjects_post_config | ( | apr_pool_t * | pconf, | |
| apr_pool_t * | plog, | |||
| apr_pool_t * | ptemp, | |||
| server_rec * | s | |||
| ) | [static] |
| static void WebObjects_register_hooks | ( | apr_pool_t * | 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_cmds[] [static] |
| module AP_MODULE_DECLARE_DATA WebObjects_module |
Initial value:
{
STANDARD20_MODULE_STUFF,
NULL,
NULL,
WebObjects_create_config,
NULL,
WebObjects_cmds,
WebObjects_register_hooks
}
1.5.8